aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cl/README
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2006-07-06 10:37:52 +0000
committerMarcus Brinkmann <[email protected]>2006-07-06 10:37:52 +0000
commit1ae2788117076e95a186fe7491f56f348aaeb5a0 (patch)
treebc85968bcfb39bedcf40beab93d7afe42c27e7ce /lang/cl/README
parent2006-06-22 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-1ae2788117076e95a186fe7491f56f348aaeb5a0.tar.gz
gpgme-1ae2788117076e95a186fe7491f56f348aaeb5a0.zip
2006-07-06 Marcus Brinkmann <[email protected]>
* lang, lang/cl: New subdirectories. * lang/Makefile.am, lang/README: New files. * configure.ac (AC_CONFIG_FILES): Add lang/Makefile, lang/cl/Makefile and lang/cl/gpgme.asd. * Makefile.am (SUBDIRS): Add lang. lang/cl/ 2006-07-06 Marcus Brinkmann <[email protected]> * Initial release.
Diffstat (limited to 'lang/cl/README')
-rw-r--r--lang/cl/README40
1 files changed, 40 insertions, 0 deletions
diff --git a/lang/cl/README b/lang/cl/README
new file mode 100644
index 00000000..b4a3c818
--- /dev/null
+++ b/lang/cl/README
@@ -0,0 +1,40 @@
+Common Lisp Support for GPGME
+-----------------------------
+
+Requirements:
+
+ASDF Packaging Support
+CFFI Foreign Function Interface
+gpg-error GPG Error Codes
+
+Use with:
+
+> (asdf:operate 'asdf:load-op ':gpgme)
+
+
+Examples
+--------
+
+(with-open-file (stream "/tmp/myout" :direction :output
+ :if-exists :supersede :element-type '(unsigned-byte 8))
+ (with-context (ctx)
+ (setf (armor-p ctx) t)
+ (op-export ctx "DEADBEEF" out)))
+
+(with-context (ctx)
+ (with-output-to-string (out)
+ (setf (armor-p ctx) t)
+ (op-export ctx "McTester" out)))
+
+(gpgme:with-context (ctx :armor t)
+ (with-output-to-string (out)
+ (gpgme:op-export ctx "McTester" out)))
+
+
+TODO
+----
+
+* When GPGME defines macros for include cert values -2, -1, 0 and 1,
+ define lisp macros for them as well.
+
+*