aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/ks-engine.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-03-11 15:19:41 +0000
committerWerner Koch <[email protected]>2014-03-11 15:30:36 +0000
commita3dee2889106fcab112c1c96b32e04d8154875e7 (patch)
tree01f9d12c29df3e3ae6a5db1183e56137f112adfc /dirmngr/ks-engine.h
parentdirmngr: Make Assuan output of keyblocks easier readable (diff)
downloadgnupg-a3dee2889106fcab112c1c96b32e04d8154875e7.tar.gz
gnupg-a3dee2889106fcab112c1c96b32e04d8154875e7.zip
dirmngr: Add command option to mark hosts as dead or alive.
* dirmngr/server.c (cmd_killdirmngr): Factor some code out to ... (check_owner_permission): here. (cmd_keyserver): Add options --dead and --alive. * dirmngr/ks-engine-hkp.c (host_in_pool_p): New. (ks_hkp_mark_host): New. -- Also removed the warning that the widnows part has not yet been done. AFAICS, the current mingw supports the all used socket functions.
Diffstat (limited to 'dirmngr/ks-engine.h')
-rw-r--r--dirmngr/ks-engine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dirmngr/ks-engine.h b/dirmngr/ks-engine.h
index 01a295ca9..a2faa751a 100644
--- a/dirmngr/ks-engine.h
+++ b/dirmngr/ks-engine.h
@@ -30,6 +30,7 @@ gpg_error_t ks_printf_help (ctrl_t ctrl, const char *format,
/*-- ks-engine-hkp.c --*/
gpg_error_t ks_hkp_resolve (ctrl_t ctrl, parsed_uri_t uri);
+gpg_error_t ks_hkp_mark_host (ctrl_t ctrl, const char *name, int alive);
gpg_error_t ks_hkp_print_hosttable (ctrl_t ctrl);
gpg_error_t ks_hkp_help (ctrl_t ctrl, parsed_uri_t uri);
gpg_error_t ks_hkp_search (ctrl_t ctrl, parsed_uri_t uri, const char *pattern,