aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authorDavid Wedderwille <davidwe@posteo.de>2019-04-30 00:39:27 +0200
committerAndreas Schneider <asn@cryptomilk.org>2019-06-13 16:49:20 +0200
commit658a15099173de1a44d7a4b3c98678eaa5969f74 (patch)
tree27ca5f1ad35ea290f6f90e873575328da270deb9 /include/libssh/libssh.h
parent32eec7b418874462326fed7f10b9602bf92405f1 (diff)
downloadlibssh-658a15099173de1a44d7a4b3c98678eaa5969f74.tar.gz
libssh-658a15099173de1a44d7a4b3c98678eaa5969f74.tar.xz
libssh-658a15099173de1a44d7a4b3c98678eaa5969f74.zip
channels: Make ssh_message_channel_request_open_reply_accept_channel public
This also adds documentation for it. Fixes T144 Signed-off-by: David Wedderwille <davidwe@posteo.de> 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 e7eb6e04..b2156d77 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -608,6 +608,7 @@ SSH_DEPRECATED LIBSSH_API void ssh_log(ssh_session session,
const char *format, ...) PRINTF_ATTRIBUTE(3, 4);
LIBSSH_API ssh_channel ssh_message_channel_request_open_reply_accept(ssh_message msg);
+LIBSSH_API int ssh_message_channel_request_open_reply_accept_channel(ssh_message msg, ssh_channel chan);
LIBSSH_API int ssh_message_channel_request_reply_success(ssh_message msg);
#define SSH_MESSAGE_FREE(x) \
do { if ((x) != NULL) { ssh_message_free(x); (x) = NULL; } } while(0)