dirmngr: Add command option to mark hosts as dead or alive.
authorWerner Koch <wk@gnupg.org>
Tue, 11 Mar 2014 15:19:41 +0000 (16:19 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 11 Mar 2014 15:30:36 +0000 (16:30 +0100)
commita3dee2889106fcab112c1c96b32e04d8154875e7
tree01f9d12c29df3e3ae6a5db1183e56137f112adfc
parent71b55c945542e695161ddbd783f87c5f534012a5
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-hkp.c
dirmngr/ks-engine.h
dirmngr/server.c