aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libssh/agent.h1
-rw-r--r--include/libssh/libssh.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/agent.h b/include/libssh/agent.h
index 4641c9e2..77209d0f 100644
--- a/include/libssh/agent.h
+++ b/include/libssh/agent.h
@@ -71,6 +71,7 @@ struct ssh_agent_struct {
struct ssh_socket_struct *sock;
ssh_buffer ident;
unsigned int count;
+ ssh_channel channel;
};
#ifndef _WIN32
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 0ec64ab5..20e87595 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -521,6 +521,7 @@ LIBSSH_API int ssh_scp_write(ssh_scp scp, const void *buffer, size_t len);
LIBSSH_API int ssh_select(ssh_channel *channels, ssh_channel *outchannels, socket_t maxfd,
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 void ssh_set_blocking(ssh_session session, int blocking);
LIBSSH_API void ssh_set_fd_except(ssh_session session);
LIBSSH_API void ssh_set_fd_toread(ssh_session session);