diff options
author | Damien Miller <djm@mindrot.org> | 2002-09-12 09:54:25 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-09-12 09:54:25 +1000 |
commit | e1a49817078a22056be87cde74467d52583e9ea1 (patch) | |
tree | 1ad843d67b9e1ebaf49a91be0004aed57485c3db /sftp-common.h | |
parent | 789e95dbe931bad60cb5f91d995470f433f4e02b (diff) |
- djm@cvs.openbsd.org 2002/09/11 22:41:50
[sftp.1 sftp-client.c sftp-client.h sftp-common.c sftp-common.h]
[sftp-glob.c sftp-glob.h sftp-int.c sftp-server.c]
support for short/long listings and globbing in "ls"; ok markus@
Diffstat (limited to 'sftp-common.h')
-rw-r--r-- | sftp-common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sftp-common.h b/sftp-common.h index 4c126bf10..201611cc4 100644 --- a/sftp-common.h +++ b/sftp-common.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp-common.h,v 1.3 2001/06/26 17:27:24 markus Exp $ */ | 1 | /* $OpenBSD: sftp-common.h,v 1.4 2002/09/11 22:41:50 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2001 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2001 Markus Friedl. All rights reserved. |
@@ -40,7 +40,9 @@ struct Attrib { | |||
40 | 40 | ||
41 | void attrib_clear(Attrib *); | 41 | void attrib_clear(Attrib *); |
42 | void stat_to_attrib(struct stat *, Attrib *); | 42 | void stat_to_attrib(struct stat *, Attrib *); |
43 | void attrib_to_stat(Attrib *, struct stat *); | ||
43 | Attrib *decode_attrib(Buffer *); | 44 | Attrib *decode_attrib(Buffer *); |
44 | void encode_attrib(Buffer *, Attrib *); | 45 | void encode_attrib(Buffer *, Attrib *); |
46 | char *ls_file(char *, struct stat *, int); | ||
45 | 47 | ||
46 | const char *fx2txt(int); | 48 | const char *fx2txt(int); |