core: New encryption flag GPGME_ENCRYPT_WANT_ADDRESS.
authorWerner Koch <wk@gnupg.org>
Tue, 17 Apr 2018 07:40:27 +0000 (09:40 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 17 Apr 2018 07:40:27 +0000 (09:40 +0200)
commit86efba2be270d2cdd0bc66c9d3fe190495b7af2f
treeafeef02c607d2572d7d89013f5e8e2c740ffa717
parenta1f76b3b54b75a150fe272b804d85ffd40a507a6
core: New encryption flag GPGME_ENCRYPT_WANT_ADDRESS.

* src/gpgme.h.in (GPGME_ENCRYPT_WANT_ADDRESS): New flag.
* src/engine-gpg.c (add_arg_recipient): New.
(add_arg_recipient_string): New.
(append_args_from_recipients): Call new helper function.
(append_args_from_recipients_string): Ditto.
* src/gpgme-json.c (op_encrypt): Add flag "want-address".
--

Signed-off-by: Werner Koch <wk@gnupg.org>
NEWS
doc/gpgme.texi
src/engine-gpg.c
src/gpgme-json.c
src/gpgme.h.in