aboutsummaryrefslogtreecommitdiffstats
path: root/agent/gpg-agent.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-06-18 10:33:12 +0000
committerWerner Koch <[email protected]>2007-06-18 10:33:12 +0000
commitad4a6067ca9f3ee98a721f5067934dbd952b096e (patch)
treec8458a6a213cbc54249962d712cb0ba90974442d /agent/gpg-agent.c
parentPO fixes for W32 (diff)
downloadgnupg-ad4a6067ca9f3ee98a721f5067934dbd952b096e.tar.gz
gnupg-ad4a6067ca9f3ee98a721f5067934dbd952b096e.zip
Add missing fiels for W32.
New agent commands: GETINFO and KILLAGENT (w32 only). Agent does now detach from the console.
Diffstat (limited to 'agent/gpg-agent.c')
-rw-r--r--agent/gpg-agent.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index ae878eb86..0e6381972 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -1162,6 +1162,16 @@ get_agent_socket_name (void)
return (s && *s)? s : NULL;
}
+/* Return the file name of the socket we are using for SSH
+ requests. */
+const char *
+get_agent_ssh_socket_name (void)
+{
+ const char *s = socket_name_ssh;
+
+ return (s && *s)? s : NULL;
+}
+
/* Create a name for the socket. With USE_STANDARD_SOCKET given as