diff options
author | Darren Tucker <dtucker@zip.com.au> | 2010-01-13 22:44:06 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2010-01-13 22:44:06 +1100 |
commit | 2901e2daebe3a0890209f31d05d5bb9338cbed5b (patch) | |
tree | 8165aef201520ede26777b48b3c9e777245e2616 /sftp-common.h | |
parent | daaa4500519627abee7c6d1969bc33df6572c1e8 (diff) |
- djm@cvs.openbsd.org 2010/01/13 01:40:16
[sftp.c sftp-server.c sftp.1 sftp-common.c sftp-common.h]
support '-h' (human-readable units) for sftp's ls command, just like
ls(1); ok dtucker@
Diffstat (limited to 'sftp-common.h')
-rw-r--r-- | sftp-common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sftp-common.h b/sftp-common.h index 9b5848462..9ed86c070 100644 --- a/sftp-common.h +++ b/sftp-common.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp-common.h,v 1.10 2006/08/03 03:34:42 deraadt Exp $ */ | 1 | /* $OpenBSD: sftp-common.h,v 1.11 2010/01/13 01:40:16 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2001 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2001 Markus Friedl. All rights reserved. |
@@ -46,6 +46,6 @@ void stat_to_attrib(const struct stat *, Attrib *); | |||
46 | void attrib_to_stat(const Attrib *, struct stat *); | 46 | void attrib_to_stat(const Attrib *, struct stat *); |
47 | Attrib *decode_attrib(Buffer *); | 47 | Attrib *decode_attrib(Buffer *); |
48 | void encode_attrib(Buffer *, const Attrib *); | 48 | void encode_attrib(Buffer *, const Attrib *); |
49 | char *ls_file(const char *, const struct stat *, int); | 49 | char *ls_file(const char *, const struct stat *, int, int); |
50 | 50 | ||
51 | const char *fx2txt(int); | 51 | const char *fx2txt(int); |