aboutsummaryrefslogtreecommitdiff
path: root/sftp_server/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'sftp_server/server.h')
-rw-r--r--sftp_server/server.h10
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;