summaryrefslogtreecommitdiffstats
path: root/tools/call-dirmngr.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2016-12-08 16:57:21 +0100
committerWerner Koch <wk@gnupg.org>2016-12-08 16:59:12 +0100
commitd8c5e8ccfdb53cc327f7520fc7badc31d0c9c666 (patch)
treefa8da2622bba3be30349cdfbaa182e9494a537ae /tools/call-dirmngr.h
parenttools: Move a function from gpg-wks-server to wks-util.c. (diff)
downloadgnupg2-d8c5e8ccfdb53cc327f7520fc7badc31d0c9c666.tar.xz
gnupg2-d8c5e8ccfdb53cc327f7520fc7badc31d0c9c666.zip
wks: New option --check for gpg-wks-client.
* tools/call-dirmngr.c (wkd_get_key): New. * tools/gpg-wks-client.c (aCheck): New constant. (opts): New option "--check". (main): Call command_check. (command_check): New. -- GnuPG-bug-id: 2866 Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'tools/call-dirmngr.h')
-rw-r--r--tools/call-dirmngr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/call-dirmngr.h b/tools/call-dirmngr.h
index 83ebd2c0e..32486b1a8 100644
--- a/tools/call-dirmngr.h
+++ b/tools/call-dirmngr.h
@@ -25,5 +25,7 @@ gpg_error_t wkd_get_submission_address (const char *addrspec,
char **r_addrspec);
gpg_error_t wkd_get_policy_flags (const char *addrspec, estream_t *r_buffer);
+gpg_error_t wkd_get_key (const char *addrspec, estream_t *r_key);
+
#endif /*GNUPG_TOOLS_CALL_DIRMNGR_H*/