Werner Koch
421ddd1e67
core: New API gpgme_op_set_uid_flag.
* src/gpgme.h.in (gpgme_op_set_uid_flag_start): New.
(gpgme_op_set_uid_flag_start): New.
* src/gpgme.def, src/libgpgme.vers: Add them.
* src/genkey.c (addrevuid_start): Change arg revoke to a flag.
(gpgme_op_revuid_start): Pass GENKEY_EXTRAFLAG_REVOKE for the fomer
revoke parameter.
(gpgme_op_revuid): Ditto.
(set_uid_flag): New.
(gpgme_op_set_uid_flag_start): New.
(gpgme_op_set_uid_flag): New.
* src/engine.h (GENKEY_EXTRAFLAG_SETPRIMARY): new.
* src/engine-gpg.c (gpg_adduid): Implement that flag.
* tests/run-genkey.c (main): New command --set-primary.
--
GnuPG-bug-id: 2931
Signed-off-by: Werner Koch <wk@gnupg.org>
2017-03-21 19:03:58 +01:00
..
2008-06-20 10:40:52 +00:00
2012-04-20 16:05:11 +02:00
2016-09-23 16:08:33 +02:00
2012-09-25 19:21:00 +02:00
2017-03-21 19:03:58 +01:00
2016-11-16 13:27:00 +01:00
2015-08-26 10:06:00 +02:00
2015-08-26 10:06:00 +02:00
2016-08-10 16:33:20 +02:00
2008-07-04 15:46:01 +00:00
2016-08-10 16:33:20 +02:00
2008-07-17 17:09:39 +00:00
2016-11-16 13:27:00 +01:00
2016-11-15 08:52:06 +01:00