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) | |
download | openssh-git-e1a49817078a22056be87cde74467d52583e9ea1.tar.gz |
- 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 4c126bf1..201611cc 100644 --- a/sftp-common.h +++ b/sftp-common.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp-common.h,v 1.3 2001/06/26 17:27:24 markus Exp $ */ +/* $OpenBSD: sftp-common.h,v 1.4 2002/09/11 22:41:50 djm Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -40,7 +40,9 @@ struct Attrib { void attrib_clear(Attrib *); void stat_to_attrib(struct stat *, Attrib *); +void attrib_to_stat(Attrib *, struct stat *); Attrib *decode_attrib(Buffer *); void encode_attrib(Buffer *, Attrib *); +char *ls_file(char *, struct stat *, int); const char *fx2txt(int); |