summaryrefslogtreecommitdiff
path: root/sftp-common.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-09-12 09:54:25 +1000
committerDamien Miller <djm@mindrot.org>2002-09-12 09:54:25 +1000
commite1a49817078a22056be87cde74467d52583e9ea1 (patch)
tree1ad843d67b9e1ebaf49a91be0004aed57485c3db /sftp-common.h
parent789e95dbe931bad60cb5f91d995470f433f4e02b (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.h4
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
41void attrib_clear(Attrib *); 41void attrib_clear(Attrib *);
42void stat_to_attrib(struct stat *, Attrib *); 42void stat_to_attrib(struct stat *, Attrib *);
43void attrib_to_stat(Attrib *, struct stat *);
43Attrib *decode_attrib(Buffer *); 44Attrib *decode_attrib(Buffer *);
44void encode_attrib(Buffer *, Attrib *); 45void encode_attrib(Buffer *, Attrib *);
46char *ls_file(char *, struct stat *, int);
45 47
46const char *fx2txt(int); 48const char *fx2txt(int);