aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2011-01-15 22:43:58 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2011-01-15 22:43:58 +0100
commitb945cbca52a39e48c8d40503134c3f0ce77e26d9 (patch)
treee0131bf498953a6c7ea9ff487dcb015fc428150a /include/libssh
parentf8361d324ea44187665fccf9f7f762d023686474 (diff)
downloadlibssh-b945cbca52a39e48c8d40503134c3f0ce77e26d9.tar.gz
libssh-b945cbca52a39e48c8d40503134c3f0ce77e26d9.tar.xz
libssh-b945cbca52a39e48c8d40503134c3f0ce77e26d9.zip
Fix double-connect testcase
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/socket.h b/include/libssh/socket.h
index ddd25f812..625dc1c3 100644
--- a/include/libssh/socket.h
+++ b/include/libssh/socket.h
@@ -32,6 +32,7 @@ typedef struct ssh_socket_struct* ssh_socket;
int ssh_socket_init(void);
void ssh_socket_cleanup(void);
ssh_socket ssh_socket_new(ssh_session session);
+void ssh_socket_reset(ssh_socket s);
void ssh_socket_free(ssh_socket s);
void ssh_socket_set_fd(ssh_socket s, socket_t fd);
socket_t ssh_socket_get_fd_in(ssh_socket s);