diff options
Diffstat (limited to 'sftp-common.h')
-rw-r--r-- | sftp-common.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sftp-common.h b/sftp-common.h index 9ed86c070..2e778a9ca 100644 --- a/sftp-common.h +++ b/sftp-common.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp-common.h,v 1.11 2010/01/13 01:40:16 djm Exp $ */ | 1 | /* $OpenBSD: sftp-common.h,v 1.12 2015/01/14 13:54:13 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2001 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2001 Markus Friedl. All rights reserved. |
@@ -28,6 +28,7 @@ | |||
28 | /* Maximum packet that we are willing to send/accept */ | 28 | /* Maximum packet that we are willing to send/accept */ |
29 | #define SFTP_MAX_MSG_LENGTH (256 * 1024) | 29 | #define SFTP_MAX_MSG_LENGTH (256 * 1024) |
30 | 30 | ||
31 | struct sshbuf; | ||
31 | typedef struct Attrib Attrib; | 32 | typedef struct Attrib Attrib; |
32 | 33 | ||
33 | /* File attributes */ | 34 | /* File attributes */ |
@@ -44,8 +45,8 @@ struct Attrib { | |||
44 | void attrib_clear(Attrib *); | 45 | void attrib_clear(Attrib *); |
45 | void stat_to_attrib(const struct stat *, Attrib *); | 46 | void stat_to_attrib(const struct stat *, Attrib *); |
46 | void attrib_to_stat(const Attrib *, struct stat *); | 47 | void attrib_to_stat(const Attrib *, struct stat *); |
47 | Attrib *decode_attrib(Buffer *); | 48 | int decode_attrib(struct sshbuf *, Attrib *); |
48 | void encode_attrib(Buffer *, const Attrib *); | 49 | int encode_attrib(struct sshbuf *, const Attrib *); |
49 | char *ls_file(const char *, const struct stat *, int, int); | 50 | char *ls_file(const char *, const struct stat *, int, int); |
50 | 51 | ||
51 | const char *fx2txt(int); | 52 | const char *fx2txt(int); |