aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authorPeter Volpe <pvolpe@redhat.com>2015-06-26 08:47:47 -0700
committerAndreas Schneider <asn@cryptomilk.org>2015-06-29 09:47:02 +0200
commit7aeba71a92d5a2dcb606e94f95516b975242586c (patch)
tree5c04ae950d445506b01cd52b3dbc1b0518190769 /include/libssh/libssh.h
parente020dd8d5917c3c957b73211cecc618d9f0207cb (diff)
downloadlibssh-7aeba71a92d5a2dcb606e94f95516b975242586c.tar.gz
libssh-7aeba71a92d5a2dcb606e94f95516b975242586c.tar.xz
libssh-7aeba71a92d5a2dcb606e94f95516b975242586c.zip
agent: Add ssh_set_agent_socket
Allow callers to specify their own socket for an ssh agent. Signed-off-by: Peter Volpe <pvolpe@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 983966da..e52317f9 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -588,6 +588,7 @@ LIBSSH_API int ssh_select(ssh_channel *channels, ssh_channel *outchannels, socke
fd_set *readfds, struct timeval *timeout);
LIBSSH_API int ssh_service_request(ssh_session session, const char *service);
LIBSSH_API int ssh_set_agent_channel(ssh_session session, ssh_channel channel);
+LIBSSH_API int ssh_set_agent_socket(ssh_session session, socket_t fd);
LIBSSH_API void ssh_set_blocking(ssh_session session, int blocking);
LIBSSH_API void ssh_set_counters(ssh_session session, ssh_counter scounter,
ssh_counter rcounter);