From 7aeba71a92d5a2dcb606e94f95516b975242586c Mon Sep 17 00:00:00 2001 From: Peter Volpe Date: Fri, 26 Jun 2015 08:47:47 -0700 Subject: agent: Add ssh_set_agent_socket Allow callers to specify their own socket for an ssh agent. Signed-off-by: Peter Volpe Reviewed-by: Andreas Schneider --- include/libssh/libssh.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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); -- cgit