diff options
author | Andre Heinecke <[email protected]> | 2018-07-03 15:50:23 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2018-07-09 08:58:04 +0000 |
commit | 7bc5d3c7e41c6e42a583a61a4c9504058fbb2976 (patch) | |
tree | 68a40e8c6a2ab8a9a9af69b2e85636d1085cbe1c /src/context.h | |
parent | python bindings: howto examples (diff) | |
download | gpgme-7bc5d3c7e41c6e42a583a61a4c9504058fbb2976.tar.gz gpgme-7bc5d3c7e41c6e42a583a61a4c9504058fbb2976.zip |
Add ctx flag for auto-key-locate
* src/context.h (gpgme_context): Add auto_key_locate.
* src/engine-gpg.c (engine_gpg): Add auto_key_locate.
(gpg_set_engine_flags, build_argv): Handle auto_key_locate.
(gpg_release): Free auto_key_locate.
* src/gpgme.c (gpgme_release): Free auto_key_locate.
(gpgme_get_ctx_flag, gpgme_set_ctx_flag): Handle auto-key-locate.
* doc/gpgme.texi: Document auto-key-locate flag.
* tests/run-keylist.c (show_usage, main): Add --from-wkd option.
--
This enables users of GPGME to control more fine grained what
auto-key-locate does. Especially for WKD lookups / refreshes
can this be useful.
GnuPG-Bug-Id: T2917
Differential Revision: https://dev.gnupg.org/D463
Diffstat (limited to 'src/context.h')
-rw-r--r-- | src/context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/context.h b/src/context.h index bdab6878..1c9379b8 100644 --- a/src/context.h +++ b/src/context.h @@ -155,6 +155,9 @@ struct gpgme_context /* The optional request origin. */ char *request_origin; + /* The optional auto key locate options. */ + char *auto_key_locate; + /* The locale for the pinentry. */ char *lc_ctype; char *lc_messages; |