aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-08-28 23:31:07 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-08-28 23:31:07 +0200
commit1fa94095543c2b20fade817a5be412edf94dec06 (patch)
tree7efb7fe3f0f9992a23448e527273c0a021608ac1 /include/libssh/libssh.h
parentadcd2e38e9199d0a3c9d4ad1380851c7e3858d6a (diff)
downloadlibssh-1fa94095543c2b20fade817a5be412edf94dec06.tar.gz
libssh-1fa94095543c2b20fade817a5be412edf94dec06.tar.xz
libssh-1fa94095543c2b20fade817a5be412edf94dec06.zip
ssh_channel_forward_* -> ssh_forward_*
Fixes bug #108
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index b2752ac7..ce2ea0b1 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -316,10 +316,7 @@ enum ssh_scp_request_types {
LIBSSH_API ssh_channel ssh_channel_accept_x11(ssh_channel channel, int timeout_ms);
LIBSSH_API int ssh_channel_change_pty_size(ssh_channel channel,int cols,int rows);
-LIBSSH_API ssh_channel ssh_channel_forward_accept(ssh_session session, int timeout_ms);
LIBSSH_API int ssh_channel_close(ssh_channel channel);
-LIBSSH_API int ssh_channel_forward_cancel(ssh_session session, const char *address, int port);
-LIBSSH_API int ssh_channel_forward_listen(ssh_session session, const char *address, int port, int *bound_port);
LIBSSH_API void ssh_channel_free(ssh_channel channel);
LIBSSH_API int ssh_channel_get_exit_status(ssh_channel channel);
LIBSSH_API ssh_session ssh_channel_get_session(ssh_channel channel);
@@ -362,6 +359,9 @@ LIBSSH_API const char *ssh_copyright(void);
LIBSSH_API void ssh_disconnect(ssh_session session);
LIBSSH_API char *ssh_dirname (const char *path);
LIBSSH_API int ssh_finalize(void);
+LIBSSH_API ssh_channel ssh_forward_accept(ssh_session session, int timeout_ms);
+LIBSSH_API int ssh_forward_cancel(ssh_session session, const char *address, int port);
+LIBSSH_API int ssh_forward_listen(ssh_session session, const char *address, int port, int *bound_port);
LIBSSH_API void ssh_free(ssh_session session);
LIBSSH_API const char *ssh_get_disconnect_message(ssh_session session);
LIBSSH_API const char *ssh_get_error(void *error);