summaryrefslogtreecommitdiff
path: root/sftp.h
diff options
context:
space:
mode:
Diffstat (limited to 'sftp.h')
-rw-r--r--sftp.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/sftp.h b/sftp.h
index 610c0b758..2bde8bb7f 100644
--- a/sftp.h
+++ b/sftp.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: sftp.h,v 1.5 2006/03/25 22:22:43 djm Exp $ */ 1/* $OpenBSD: sftp.h,v 1.9 2008/06/13 00:12:02 dtucker Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2001 Markus Friedl. All rights reserved. 4 * Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -79,6 +79,10 @@
79#define SSH2_FXF_TRUNC 0x00000010 79#define SSH2_FXF_TRUNC 0x00000010
80#define SSH2_FXF_EXCL 0x00000020 80#define SSH2_FXF_EXCL 0x00000020
81 81
82/* statvfs@openssh.com f_flag flags */
83#define SSH2_FXE_STATVFS_ST_RDONLY 0x00000001
84#define SSH2_FXE_STATVFS_ST_NOSUID 0x00000002
85
82/* status messages */ 86/* status messages */
83#define SSH2_FX_OK 0 87#define SSH2_FX_OK 0
84#define SSH2_FX_EOF 1 88#define SSH2_FX_EOF 1
@@ -90,3 +94,8 @@
90#define SSH2_FX_CONNECTION_LOST 7 94#define SSH2_FX_CONNECTION_LOST 7
91#define SSH2_FX_OP_UNSUPPORTED 8 95#define SSH2_FX_OP_UNSUPPORTED 8
92#define SSH2_FX_MAX 8 96#define SSH2_FX_MAX 8
97
98struct passwd;
99
100int sftp_server_main(int, char **, struct passwd *);
101void sftp_server_cleanup_exit(int) __attribute__((noreturn));