diff options
author | Daniel Kahn Gillmor <[email protected]> | 2016-10-26 20:37:07 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2016-10-27 01:37:17 +0000 |
commit | 6316b28e896957adb76a61a41d2e1c2a08d9f716 (patch) | |
tree | 399e2bb037feb8c21f75763e0abf6c0f510011ae /common/sysutils.h | |
parent | dirmngr: report actual socket name. (diff) | |
download | gnupg-6316b28e896957adb76a61a41d2e1c2a08d9f716.tar.gz gnupg-6316b28e896957adb76a61a41d2e1c2a08d9f716.zip |
agent,common: move get_socket_name() into common.
* agent/gpg-agent.c (get_socket_name): move to ...
* common/sysutils.c (gnupg_get_socket_name): ... here.
--
This allows us to use the same functionality in dirmngr as well.
Signed-off-by: Daniel Kahn Gillmor <[email protected]>
Diffstat (limited to 'common/sysutils.h')
-rw-r--r-- | common/sysutils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/sysutils.h b/common/sysutils.h index ea92e4c32..7105107d0 100644 --- a/common/sysutils.h +++ b/common/sysutils.h @@ -66,6 +66,7 @@ char *gnupg_mkdtemp (char *template); int gnupg_setenv (const char *name, const char *value, int overwrite); int gnupg_unsetenv (const char *name); char *gnupg_getcwd (void); +char *gnupg_get_socket_name (int fd); gpg_error_t gnupg_inotify_watch_socket (int *r_fd, const char *socket_name); int gnupg_inotify_has_name (int fd, const char *name); |