aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2013-03-06 20:44:13 +0100
committerAndreas Schneider <asn@cryptomilk.org>2013-07-13 14:51:00 +0200
commite76442b650428425a1fbb97d621420216145a3bf (patch)
treef52599d1c14c1a64bd7865c832bdbb7102bc3cd3 /include/libssh/libssh.h
parent9bdb54685224aeabf865dfe33f7f079d733e7670 (diff)
downloadlibssh-e76442b650428425a1fbb97d621420216145a3bf.tar.gz
libssh-e76442b650428425a1fbb97d621420216145a3bf.tar.xz
libssh-e76442b650428425a1fbb97d621420216145a3bf.zip
ssh-agent: implement the clientside for agent forwarding auth.
This can only be used to authenticate the client, not to allow the connected server to transfer agent requests 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 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);