diff options
author | Fabiano FidĂȘncio <fidencio@redhat.com> | 2015-07-02 15:29:06 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2015-07-07 13:24:55 +0200 |
commit | 2bf6e66ffe9f617ec56a4cc4561c533a81d80cdf (patch) | |
tree | 9aa7fcb7629fb4abe859c8d9735b6b520a9e1987 /include/libssh/libssh.h | |
parent | 728c2fbd017451a868ed9471c9d001f6d4ffff96 (diff) | |
download | libssh-2bf6e66ffe9f617ec56a4cc4561c533a81d80cdf.tar.gz libssh-2bf6e66ffe9f617ec56a4cc4561c533a81d80cdf.tar.xz libssh-2bf6e66ffe9f617ec56a4cc4561c533a81d80cdf.zip |
client: handle agent forward open requests with callbacks
Signed-off-by: Fabiano FidĂȘncio <fidencio@redhat.com>
Reviewed-by: Aris Adamantiadis <aris@badcode.be>
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r-- | include/libssh/libssh.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index e52317f9..232d7c2b 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -188,7 +188,8 @@ enum ssh_channel_type_e { SSH_CHANNEL_SESSION, SSH_CHANNEL_DIRECT_TCPIP, SSH_CHANNEL_FORWARDED_TCPIP, - SSH_CHANNEL_X11 + SSH_CHANNEL_X11, + SSH_CHANNEL_AUTH_AGENT }; enum ssh_channel_requests_e { @@ -401,6 +402,7 @@ LIBSSH_API int ssh_channel_request_sftp(ssh_channel channel); LIBSSH_API int ssh_channel_request_subsystem(ssh_channel channel, const char *subsystem); LIBSSH_API int ssh_channel_request_x11(ssh_channel channel, int single_connection, const char *protocol, const char *cookie, int screen_number); +LIBSSH_API int ssh_channel_request_auth_agent(ssh_channel channel); LIBSSH_API int ssh_channel_send_eof(ssh_channel channel); LIBSSH_API int ssh_channel_select(ssh_channel *readchans, ssh_channel *writechans, ssh_channel *exceptchans, struct timeval * timeout); |