summaryrefslogtreecommitdiff
path: root/lang/cl/README
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-02-19 08:22:18 -0800
committerAnas Nashif <anas.nashif@intel.com>2013-02-19 08:22:18 -0800
commit26fb537f9cf011eaeaf975adcad5e8e9154d04fd (patch)
treeddc2171273fca8b730b9c496e1b5ed3b01878577 /lang/cl/README
downloadgpgme-upstream/1.3.2.tar.gz
gpgme-upstream/1.3.2.tar.bz2
gpgme-upstream/1.3.2.zip
Imported Upstream version 1.3.2upstream/1.3.2
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 0000000..b4a3c81
--- /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.
+
+*