summaryrefslogtreecommitdiff
path: root/sftp.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2008-02-10 22:40:12 +1100
committerDamien Miller <djm@mindrot.org>2008-02-10 22:40:12 +1100
commitd8cb1f184f9acaae02bb4d15ce1e00ffbeeeac88 (patch)
treefb0100a74a6c870e835706aa487b54500510c5e1 /sftp.h
parentdfc24258a75a06ea8a3f56d99d3669e1a012a1dc (diff)
downloadopenssh-git-d8cb1f184f9acaae02bb4d15ce1e00ffbeeeac88.tar.gz
- djm@cvs.openbsd.org 2008/02/08 23:24:07
[servconf.c servconf.h session.c sftp-server.c sftp.h sshd_config] [sshd_config.5] add sshd_config ChrootDirectory option to chroot(2) users to a directory and tweak internal sftp server to work with it (no special files in chroot required). ok markus@
Diffstat (limited to 'sftp.h')
-rw-r--r--sftp.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sftp.h b/sftp.h
index 12b9cc05..0835da6e 100644
--- a/sftp.h
+++ b/sftp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp.h,v 1.6 2008/02/04 21:53:00 markus Exp $ */
+/* $OpenBSD: sftp.h,v 1.7 2008/02/08 23:24:07 djm Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -91,5 +91,7 @@
#define SSH2_FX_OP_UNSUPPORTED 8
#define SSH2_FX_MAX 8
-int sftp_server_main(int, char **);
+struct passwd;
+
+int sftp_server_main(int, char **, struct passwd *);
void sftp_server_cleanup_exit(int) __dead;