diff options
| author | Peter Volpe <pvolpe@redhat.com> | 2015-06-26 08:47:47 -0700 |
|---|---|---|
| committer | Andreas Schneider <asn@cryptomilk.org> | 2015-06-29 09:47:35 +0200 |
| commit | ac7ed825859aeff8e68f83f68af8ae32835df574 (patch) | |
| tree | d6e7358fd0ebd7888f650a1298486df8c8a687ee /include/libssh | |
| parent | 196c2e9c1fa6b7eec3b80d79d08011cb39dd6454 (diff) | |
| download | libssh-ac7ed825859aeff8e68f83f68af8ae32835df574.tar.gz libssh-ac7ed825859aeff8e68f83f68af8ae32835df574.tar.xz libssh-ac7ed825859aeff8e68f83f68af8ae32835df574.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>
(cherry picked from commit 7aeba71a92d5a2dcb606e94f95516b975242586c)
Diffstat (limited to 'include/libssh')
| -rw-r--r-- | include/libssh/libssh.h | 1 |
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); |
