summaryrefslogtreecommitdiffstats
path: root/include/libssh/server.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-10-09 21:26:15 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-10-09 21:26:15 +0200
commit2e9c13dad00c038fe7fa0eb8e81fc8990cb8893c (patch)
treeb96a77399160a783ad559bdf08219373c3e5bb7e /include/libssh/server.h
parent9c667ebc265926811cf0626aed272f35410895f3 (diff)
downloadlibssh-2e9c13dad00c038fe7fa0eb8e81fc8990cb8893c.tar.gz
libssh-2e9c13dad00c038fe7fa0eb8e81fc8990cb8893c.tar.xz
libssh-2e9c13dad00c038fe7fa0eb8e81fc8990cb8893c.zip
Modified server API
Diffstat (limited to 'include/libssh/server.h')
-rw-r--r--include/libssh/server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/server.h b/include/libssh/server.h
index e1ef3df..681792c 100644
--- a/include/libssh/server.h
+++ b/include/libssh/server.h
@@ -114,7 +114,7 @@ LIBSSH_API void ssh_bind_fd_toaccept(SSH_BIND *ssh_bind);
*
* @return A newly allocated ssh session, NULL on error.
*/
-LIBSSH_API ssh_session ssh_bind_accept(SSH_BIND *ssh_bind);
+LIBSSH_API int ssh_bind_accept(SSH_BIND *ssh_bind, ssh_session session);
/**
* @brief Free a ssh servers bind.