]> andersk Git - openssh.git/blobdiff - sftp-common.h
- (dtucker) [Makefile.in] Add a install-nosysconf target for installing the
[openssh.git] / sftp-common.h
index 6dc1a32f8fdef7bd25141aa954732c096f710700..b42ba91409f8fc2497b5b76201fddcf91876a127 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: sftp-common.h,v 1.1 2001/02/04 11:11:54 djm Exp $     */
+/*     $OpenBSD: sftp-common.h,v 1.5 2003/11/10 16:23:41 jakob Exp $   */
 
 /*
  * Copyright (c) 2001 Markus Friedl.  All rights reserved.
@@ -38,18 +38,11 @@ struct Attrib {
        u_int32_t       mtime;
 };
 
-/* Clear contents of attributes structure */
-void attrib_clear(Attrib *a);
-
-/* Convert from struct stat to filexfer attribs */
-void stat_to_attrib(struct stat *st, Attrib *a);
-
-/* Decode attributes in buffer */
-Attrib *decode_attrib(Buffer *b);
-
-/* Encode attributes to buffer */
-void encode_attrib(Buffer *b, Attrib *a);
-
-/* Convert from SSH2_FX_ status to text error message */
-const char *fx2txt(int status);
+void    attrib_clear(Attrib *);
+void    stat_to_attrib(const struct stat *, Attrib *);
+void    attrib_to_stat(const Attrib *, struct stat *);
+Attrib *decode_attrib(Buffer *);
+void    encode_attrib(Buffer *, const Attrib *);
+char   *ls_file(const char *, const struct stat *, int);
 
+const char *fx2txt(int);
This page took 0.05321 seconds and 4 git commands to generate.