summaryrefslogtreecommitdiff
path: root/src/engine.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2016-09-14 12:41:16 +0200
committerWerner Koch <wk@gnupg.org>2016-09-14 12:42:12 +0200
commitc943380b7a2cc9b32f81c22224fc6f92e8ea8469 (patch)
treeb55cc4419c35a32fcca9f895d80e25b3efc53fc1 /src/engine.h
parentc22f5884c50557f54704f4becc5a8c1ee0749547 (diff)
downloadgpgme-c943380b7a2cc9b32f81c22224fc6f92e8ea8469.tar.gz
core: New function gpgme_op_revuid.
* src/engine.h (GENKEY_EXTRAFLAG_REVOKE): New. * src/genkey.c (adduid_start): Rename to addrevuid_start. Add arg REVOKE and pass it as extraflags. Remove useless ARMOR extraflag. Adjust callers. (gpgme_op_revuid_start, gpgme_op_revuid): New. * src/gpgme.def, src/libgpgme.vers: Add them. * tests/run-genkey.c: Add option --revuid. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'src/engine.h')
-rw-r--r--src/engine.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine.h b/src/engine.h
index 391caf28..eb37da8f 100644
--- a/src/engine.h
+++ b/src/engine.h
@@ -25,7 +25,8 @@
#include "gpgme.h"
/* Flags used by the EXTRAFLAGS arg of _gpgme_engine_op_genkey. */
-#define GENKEY_EXTRAFLAG_ARMOR 1
+#define GENKEY_EXTRAFLAG_ARMOR 1
+#define GENKEY_EXTRAFLAG_REVOKE 2
struct engine;