aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssh/sftp-common.h
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2002-03-18 09:55:03 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2002-03-18 09:55:03 +0000
commitae1f160d56b2d59d406f1af34cbdcc88a9e1b914 (patch)
tree7ac239d263df7247abaf6488a321dac17f2ebce9 /crypto/openssh/sftp-common.h
parent1e8db6e2f63ea90b361b3bbc9ebe9990660cb596 (diff)
downloadsrc-ae1f160d56b2d59d406f1af34cbdcc88a9e1b914.tar.gz
src-ae1f160d56b2d59d406f1af34cbdcc88a9e1b914.zip
Vendor import of OpenSSH 3.1
Notes
Notes: svn path=/vendor-crypto/openssh/dist/; revision=92555
Diffstat (limited to 'crypto/openssh/sftp-common.h')
-rw-r--r--crypto/openssh/sftp-common.h21
1 files changed, 6 insertions, 15 deletions
diff --git a/crypto/openssh/sftp-common.h b/crypto/openssh/sftp-common.h
index 6dc1a32f8fde..4c126bf1065d 100644
--- a/crypto/openssh/sftp-common.h
+++ b/crypto/openssh/sftp-common.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp-common.h,v 1.1 2001/02/04 11:11:54 djm Exp $ */
+/* $OpenBSD: sftp-common.h,v 1.3 2001/06/26 17:27:24 markus Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -38,18 +38,9 @@ struct Attrib {
u_int32_t mtime;
};
-/* Clear contents of attributes structure */
-void attrib_clear(Attrib *a);
-
-/* Convert from struct stat to filexfer attribs */
-void stat_to_attrib(struct stat *st, Attrib *a);
-
-/* Decode attributes in buffer */
-Attrib *decode_attrib(Buffer *b);
-
-/* Encode attributes to buffer */
-void encode_attrib(Buffer *b, Attrib *a);
-
-/* Convert from SSH2_FX_ status to text error message */
-const char *fx2txt(int status);
+void attrib_clear(Attrib *);
+void stat_to_attrib(struct stat *, Attrib *);
+Attrib *decode_attrib(Buffer *);
+void encode_attrib(Buffer *, Attrib *);
+const char *fx2txt(int);