aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-02-06 10:50:14 +0100
committerAndreas Schneider <asn@cryptomilk.org>2011-02-06 10:50:14 +0100
commit93a2d794591ba8bc21bde28e0d95b5c7505a322c (patch)
treedb45dddfe9ec1149469dc58a730d88115c1c66a0 /include
parent30e4096c66ff110ab8e714c7809042177897b806 (diff)
downloadlibssh-93a2d794591ba8bc21bde28e0d95b5c7505a322c.tar.gz
libssh-93a2d794591ba8bc21bde28e0d95b5c7505a322c.tar.xz
libssh-93a2d794591ba8bc21bde28e0d95b5c7505a322c.zip
session: Added ssh_is_connected().
Diffstat (limited to 'include')
-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 93d6dba6..a215c31e 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -386,6 +386,7 @@ LIBSSH_API int ssh_get_version(ssh_session session);
LIBSSH_API int ssh_get_status(ssh_session session);
LIBSSH_API int ssh_init(void);
LIBSSH_API int ssh_is_blocking(ssh_session session);
+LIBSSH_API int ssh_is_connected(ssh_session session);
LIBSSH_API int ssh_is_server_known(ssh_session session);
LIBSSH_API void ssh_log(ssh_session session, int prioriry, const char *format, ...) PRINTF_ATTRIBUTE(3, 4);
LIBSSH_API ssh_channel ssh_message_channel_request_open_reply_accept(ssh_message msg);