diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2005-08-29 14:53:44 +0000 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2005-08-29 14:53:44 +0000 |
commit | f31e7a3bec432be88aa4bb82c7f53baa32c6ac28 (patch) | |
tree | 0123e8e4cecf7f20a7cbe5ff06c94d35b3fd81c2 /sftp_server/server.h | |
parent | bcb6bf25fa132421672d0782b9bfdb82fd2c6600 (diff) | |
download | libssh-f31e7a3bec432be88aa4bb82c7f53baa32c6ac28.tar.gz libssh-f31e7a3bec432be88aa4bb82c7f53baa32c6ac28.tar.xz libssh-f31e7a3bec432be88aa4bb82c7f53baa32c6ac28.zip |
removed obsolete debugging info, split main.c in 3, and now mercurius links with a statical libssh
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@26 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'sftp_server/server.h')
-rw-r--r-- | sftp_server/server.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sftp_server/server.h b/sftp_server/server.h index 1457e81f..460acbf3 100644 --- a/sftp_server/server.h +++ b/sftp_server/server.h @@ -1,3 +1,5 @@ +#include <libssh/libssh.h> +#include <libssh/sftp.h> /* server.h */ /* headers for the sftp server project */ int parse_config(char *file); @@ -5,6 +7,14 @@ char *user_chroot(char *user); char *user_uid(char *user); int user_nopassword(char *user); +/* userauth.c */ +int do_auth(SSH_SESSION *session); + +/* protocol.c */ + +int sftploop(SSH_SESSION *session, SFTP_SESSION *sftp); + +/* list.c */ typedef struct list_struct { struct list_struct *next; char *key; |