* agent.h (server_control_s): Add connection_fd field.
authorWerner Koch <wk@gnupg.org>
Thu, 29 Jan 2004 20:17:27 +0000 (20:17 +0000)
committerWerner Koch <wk@gnupg.org>
Thu, 29 Jan 2004 20:17:27 +0000 (20:17 +0000)
commitb11106ebf0e34caae45a68b87fb81f63faf2004f
treea5f6ba8a0dac961b66185dcf16078907dd810ef8
parente4587ba874f5052a7d1aa9731e118107d7f0b189
* agent.h (server_control_s): Add connection_fd field.
* command.c (start_command_handler): Init it here.
* gpg-agent.c (agent_init_default_ctrl): and here.
* call-scd.c: Add the CTRL arg to all functions calling start_scd
and pass it to start_scd.  Changed all callers
(start_scd): Keep track of the current active connection.
(agent_reset_scd): New.
* command.c (start_command_handler): Call it here.
* learncard.c (agent_handle_learn): Add arg CTRL; changed caller.
(send_cert_back): Ditto.
agent/ChangeLog
agent/agent.h
agent/call-scd.c
agent/command.c
agent/divert-scd.c
agent/gpg-agent.c
agent/learncard.c