summaryrefslogtreecommitdiffstats
path: root/dirmngr/ks-engine.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-02-09 15:42:29 +0100
committerWerner Koch <wk@gnupg.org>2011-02-09 15:42:29 +0100
commitf02d972aec94e3ec8fdadd080d159d5a34c96722 (patch)
treebc10d5f96c9d58adb0a48c94154694963e2b2b8e /dirmngr/ks-engine.h
parentAdd finger support to dirmngr. (diff)
downloadgnupg2-f02d972aec94e3ec8fdadd080d159d5a34c96722.tar.xz
gnupg2-f02d972aec94e3ec8fdadd080d159d5a34c96722.zip
Support key fetching using HTTP.
A simple test case is: gpg2 --fetch-key http://werner.eifelkommune.de/mykey.asc
Diffstat (limited to 'dirmngr/ks-engine.h')
-rw-r--r--dirmngr/ks-engine.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/dirmngr/ks-engine.h b/dirmngr/ks-engine.h
index 50f42be4b..9d2afdf85 100644
--- a/dirmngr/ks-engine.h
+++ b/dirmngr/ks-engine.h
@@ -31,8 +31,12 @@ gpg_error_t ks_hkp_get (ctrl_t ctrl, parsed_uri_t uri,
gpg_error_t ks_hkp_put (ctrl_t ctrl, parsed_uri_t uri,
const void *data, size_t datalen);
+/*-- ks-engine-http.c --*/
+gpg_error_t ks_http_fetch (ctrl_t ctrl, const char *url, estream_t *r_fp);
+
+
/*-- ks-engine-finger.c --*/
-gpg_error_t ks_finger_get (ctrl_t ctrl, parsed_uri_t uri, estream_t *r_fp);
+gpg_error_t ks_finger_fetch (ctrl_t ctrl, parsed_uri_t uri, estream_t *r_fp);