summaryrefslogtreecommitdiff
path: root/sftp-common.h
diff options
context:
space:
mode:
authordjm <djm>2002-09-11 23:54:25 +0000
committerdjm <djm>2002-09-11 23:54:25 +0000
commitd5e2ec023d77b0fce6102d2168aa2cb09a84c95a (patch)
treea804ed1de3d515000fedcd494e0de1609df0d0a7 /sftp-common.h
parent5238d9c1056e42e5554b7425185e4b97e7a82993 (diff)
downloadopenssh-d5e2ec023d77b0fce6102d2168aa2cb09a84c95a.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.h4
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);