aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2005-08-29 00:55:27 +0000
committerAris Adamantiadis <aris@0xbadc0de.be>2005-08-29 00:55:27 +0000
commitb81c66ee8f785d56eea7ebf3c8d741704c4f2b1b (patch)
tree2adfa966f2b303b4adebae2d5727096b31036c0d /include
parent0de0dca16d1caf6c712fb4b50d4ff7c7e25d5129 (diff)
downloadlibssh-b81c66ee8f785d56eea7ebf3c8d741704c4f2b1b.tar.gz
libssh-b81c66ee8f785d56eea7ebf3c8d741704c4f2b1b.tar.xz
libssh-b81c66ee8f785d56eea7ebf3c8d741704c4f2b1b.zip
pam samples files to put into /etc/pam.d
ssh_silent_disconnect() and server forking. I still have to add a -D command line to avoid the forking. password auth works, but there is no uid change yet. I'll have to make the configuration stuff really being respected by the server. (like keys, ports, users, ...) git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@23 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include')
-rw-r--r--include/libssh/libssh.h1
-rw-r--r--include/libssh/server.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 8f1b21be..9246affa 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -110,6 +110,7 @@ void ssh_set_verbosity(int num);
SSH_SESSION *ssh_new();
void ssh_set_options(SSH_SESSION *session, SSH_OPTIONS *options);
int ssh_get_fd(SSH_SESSION *session);
+void ssh_silent_disconnect(SSH_SESSION *session);
/* client.c */
int ssh_connect(SSH_SESSION *session);
diff --git a/include/libssh/server.h b/include/libssh/server.h
index 4b8a0f89..6070f72b 100644
--- a/include/libssh/server.h
+++ b/include/libssh/server.h
@@ -42,7 +42,7 @@ void ssh_bind_set_blocking(SSH_BIND *ssh_bind,int blocking);
int ssh_bind_get_fd(SSH_BIND *ssh_bind);
int ssh_bind_set_toaccept(SSH_BIND *ssh_bind);
SSH_SESSION *ssh_bind_accept(SSH_BIND *ssh_bind);
-
+void ssh_bind_free(SSH_BIND *ssh_bind);
int ssh_accept(SSH_SESSION *session);
/* messages.c */