dirmngr: Prepare to trigger jobs by network activity.
authorWerner Koch <wk@gnupg.org>
Fri, 11 Nov 2016 16:30:23 +0000 (17:30 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 11 Nov 2016 16:30:23 +0000 (17:30 +0100)
commit7b04a43c05834b937b32a596f1941e9728add5fa
tree14548d670d86ebaad319cfeaeff5e179bc5fd1ec
parent57e95f5413e21cfcb957af2346b292686a5647b7
dirmngr: Prepare to trigger jobs by network activity.

* dirmngr/http.c (netactivity_cb): New.
(http_register_netactivity_cb): New.
(notify_netactivity): New.
(connect_server): Call that function.
* dirmngr/dirmngr.c (main): Call http_register_netactivity_cb.
(netactivity_action): New stub handler.

Signed-off-by: Werner Koch <wk@gnupg.org>
dirmngr/dirmngr.c
dirmngr/http.c
dirmngr/http.h