summaryrefslogtreecommitdiff
path: root/sftp.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-03-08 10:08:49 +1100
committerDamien Miller <djm@mindrot.org>2001-03-08 10:08:49 +1100
commit058316f0f1811ac716c1cb799f50adae4af7928e (patch)
treec25e9fee7be4720a39d405984e7fec473dfeea13 /sftp.h
parent8ac0a7ec448764036e1a1657013a9fd9179be860 (diff)
downloadopenssh-git-058316f0f1811ac716c1cb799f50adae4af7928e.tar.gz
- 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.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/sftp.h b/sftp.h
index 763056f5..2ad95864 100644
--- a/sftp.h
+++ b/sftp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp.h,v 1.2 2001/01/29 01:58:18 niklas Exp $ */
+/* $OpenBSD: sftp.h,v 1.3 2001/03/07 10:11:23 djm Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -25,11 +25,11 @@
*/
/*
- * draft-ietf-secsh-filexfer-00.txt
+ * draft-ietf-secsh-filexfer-01.txt
*/
/* version */
-#define SSH2_FILEXFER_VERSION 2
+#define SSH2_FILEXFER_VERSION 3
/* client to server */
#define SSH2_FXP_INIT 1
@@ -49,6 +49,8 @@
#define SSH2_FXP_REALPATH 16
#define SSH2_FXP_STAT 17
#define SSH2_FXP_RENAME 18
+#define SSH2_FXP_READLINK 19
+#define SSH2_FXP_SYMLINK 20
/* server to client */
#define SSH2_FXP_VERSION 2
@@ -86,3 +88,4 @@
#define SSH2_FX_NO_CONNECTION 6
#define SSH2_FX_CONNECTION_LOST 7
#define SSH2_FX_OP_UNSUPPORTED 8
+#define SSH2_FX_MAX 8