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)
- 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 12b9cc056..0835da6ed 100644
--- a/sftp.h
+++ b/sftp.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: sftp.h,v 1.6 2008/02/04 21:53:00 markus Exp $ */ 1/* $OpenBSD: sftp.h,v 1.7 2008/02/08 23:24:07 djm Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2001 Markus Friedl. All rights reserved. 4 * Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -91,5 +91,7 @@
91#define SSH2_FX_OP_UNSUPPORTED 8 91#define SSH2_FX_OP_UNSUPPORTED 8
92#define SSH2_FX_MAX 8 92#define SSH2_FX_MAX 8
93 93
94int sftp_server_main(int, char **); 94struct passwd;
95
96int sftp_server_main(int, char **, struct passwd *);
95void sftp_server_cleanup_exit(int) __dead; 97void sftp_server_cleanup_exit(int) __dead;