aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-04-18 15:59:29 +0000
committerWerner Koch <[email protected]>2018-04-18 15:59:29 +0000
commit55e9a94680370e584fbe5d21161a2cee3fe95744 (patch)
tree0bed989020cceee38b2c8644d84fd6aa510d0f72 /src
parentjson: Add command "decrypt" to gpgme-json. (diff)
downloadgpgme-55e9a94680370e584fbe5d21161a2cee3fe95744.tar.gz
gpgme-55e9a94680370e584fbe5d21161a2cee3fe95744.zip
core: New convenience constant GPGME_KEYLIST_MODE_LOCATE.
* src/gpgme.h.in (GPGME_KEYLIST_MODE_LOCATE): New. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gpgme-json.c3
-rw-r--r--src/gpgme.h.in2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/gpgme-json.c b/src/gpgme-json.c
index e7aa2284..0beb78f4 100644
--- a/src/gpgme-json.c
+++ b/src/gpgme-json.c
@@ -20,8 +20,7 @@
/* This is tool implements the Native Messaging protocol of web
* browsers and provides the server part of it. A Javascript based
- * client can be found in lang/javascript. The used data format is
- * similar to the API of openpgpjs.
+ * client can be found in lang/javascript.
*/
#include <config.h>
diff --git a/src/gpgme.h.in b/src/gpgme.h.in
index c81e882f..e3a2eea0 100644
--- a/src/gpgme.h.in
+++ b/src/gpgme.h.in
@@ -373,6 +373,8 @@ gpgme_protocol_t;
#define GPGME_KEYLIST_MODE_EPHEMERAL 128
#define GPGME_KEYLIST_MODE_VALIDATE 256
+#define GPGME_KEYLIST_MODE_LOCATE (1|2)
+
typedef unsigned int gpgme_keylist_mode_t;