From a3dee2889106fcab112c1c96b32e04d8154875e7 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 11 Mar 2014 16:19:41 +0100 Subject: 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. --- dirmngr/ks-engine.h | 1 + 1 file changed, 1 insertion(+) (limited to 'dirmngr/ks-engine.h') 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, -- cgit v1.2.3