diff options
author | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:42:53 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:42:53 +0000 |
commit | 87552344215a38d3a2b0d4d63dc151e05978bbe1 (patch) | |
tree | 9f4b96055e6ccaa915e8d59d9f2805e9e119371d /sftp.h | |
parent | a25ec0b132c44c9e341e08464ff830de06b81126 (diff) | |
parent | ef94e5613d37bcbf880f21ee6094e4b1c7683a4c (diff) |
import openssh-5.1p1-gsskex-cjwatson-20080722.patch
Diffstat (limited to 'sftp.h')
-rw-r--r-- | sftp.h | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 | |||
98 | struct passwd; | ||
99 | |||
100 | int sftp_server_main(int, char **, struct passwd *); | ||
101 | void sftp_server_cleanup_exit(int) __attribute__((noreturn)); | ||