diff options
author | Damien Miller <djm@mindrot.org> | 2001-03-08 10:08:49 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-03-08 10:08:49 +1100 |
commit | 058316f0f1811ac716c1cb799f50adae4af7928e (patch) | |
tree | c25e9fee7be4720a39d405984e7fec473dfeea13 /sftp.h | |
parent | 8ac0a7ec448764036e1a1657013a9fd9179be860 (diff) |
- OpenBSD CVS Sync
- djm@cvs.openbsd.org 2001/03/07 10:11:23
[sftp-client.c sftp-client.h sftp-int.c sftp-server.c sftp.1 sftp.c sftp.h]
Support for new draft (draft-ietf-secsh-filexfer-01). New symlink handling
functions and small protocol change.
Diffstat (limited to 'sftp.h')
-rw-r--r-- | sftp.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp.h,v 1.2 2001/01/29 01:58:18 niklas Exp $ */ | 1 | /* $OpenBSD: sftp.h,v 1.3 2001/03/07 10:11:23 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2001 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2001 Markus Friedl. All rights reserved. |
@@ -25,11 +25,11 @@ | |||
25 | */ | 25 | */ |
26 | 26 | ||
27 | /* | 27 | /* |
28 | * draft-ietf-secsh-filexfer-00.txt | 28 | * draft-ietf-secsh-filexfer-01.txt |
29 | */ | 29 | */ |
30 | 30 | ||
31 | /* version */ | 31 | /* version */ |
32 | #define SSH2_FILEXFER_VERSION 2 | 32 | #define SSH2_FILEXFER_VERSION 3 |
33 | 33 | ||
34 | /* client to server */ | 34 | /* client to server */ |
35 | #define SSH2_FXP_INIT 1 | 35 | #define SSH2_FXP_INIT 1 |
@@ -49,6 +49,8 @@ | |||
49 | #define SSH2_FXP_REALPATH 16 | 49 | #define SSH2_FXP_REALPATH 16 |
50 | #define SSH2_FXP_STAT 17 | 50 | #define SSH2_FXP_STAT 17 |
51 | #define SSH2_FXP_RENAME 18 | 51 | #define SSH2_FXP_RENAME 18 |
52 | #define SSH2_FXP_READLINK 19 | ||
53 | #define SSH2_FXP_SYMLINK 20 | ||
52 | 54 | ||
53 | /* server to client */ | 55 | /* server to client */ |
54 | #define SSH2_FXP_VERSION 2 | 56 | #define SSH2_FXP_VERSION 2 |
@@ -86,3 +88,4 @@ | |||
86 | #define SSH2_FX_NO_CONNECTION 6 | 88 | #define SSH2_FX_NO_CONNECTION 6 |
87 | #define SSH2_FX_CONNECTION_LOST 7 | 89 | #define SSH2_FX_CONNECTION_LOST 7 |
88 | #define SSH2_FX_OP_UNSUPPORTED 8 | 90 | #define SSH2_FX_OP_UNSUPPORTED 8 |
91 | #define SSH2_FX_MAX 8 | ||