summaryrefslogtreecommitdiffstats
path: root/agent/agent.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2024-06-27 08:26:25 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2024-06-27 08:26:25 +0200
commit5d980802acb3e385c6d2a10e8b3ae95d362da953 (patch)
treef41f6e35c890117994f250a62d1659db0b79ab0f /agent/agent.h
parentscd: Restrict use of DEVINFO --watch command for socket connection. (diff)
downloadgnupg2-5d980802acb3e385c6d2a10e8b3ae95d362da953.tar.xz
gnupg2-5d980802acb3e385c6d2a10e8b3ae95d362da953.zip
agent:daemon: Add an argument to specify requiring socket connection.
* agent/agent.h (daemon_start): Add REQ_SOCK argument. * agent/call-daemon.c (daemon_start): Support specifying a socket connection. * agent/call-scd.c (start_scd): Connection don't care. * agent/call-tpm2d.c (start_tpm2d): Likewise. -- GnuPG-bug-id: 7151 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'agent/agent.h')
-rw-r--r--agent/agent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/agent.h b/agent/agent.h
index 7ffbd5cc2..ae2ae5004 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -709,7 +709,7 @@ gpg_error_t agent_card_ecc_kem (ctrl_t ctrl, const unsigned char *ecc_ct,
size_t ecc_point_len, unsigned char *ecc_ecdh);
/*-- call-daemon.c --*/
-gpg_error_t daemon_start (enum daemon_type type, ctrl_t ctrl);
+gpg_error_t daemon_start (enum daemon_type type, ctrl_t ctrl, int req_sock);
assuan_context_t daemon_type_ctx (enum daemon_type type, ctrl_t ctrl);
gpg_error_t daemon_unlock (enum daemon_type type, ctrl_t ctrl, gpg_error_t rc);
void initialize_module_daemon (void);