=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/sftp-common.h,v retrieving revision 1.1.6.2 retrieving revision 1.2 diff -u -r1.1.6.2 -r1.2 --- src/usr.bin/ssh/sftp-common.h 2002/03/09 00:20:45 1.1.6.2 +++ src/usr.bin/ssh/sftp-common.h 2001/06/26 06:33:01 1.2 @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp-common.h,v 1.1.6.2 2002/03/09 00:20:45 miod Exp $ */ +/* $OpenBSD: sftp-common.h,v 1.2 2001/06/26 06:33:01 itojun Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -38,9 +38,18 @@ u_int32_t mtime; }; -void attrib_clear(Attrib *); -void stat_to_attrib(struct stat *, Attrib *); -Attrib *decode_attrib(Buffer *); -void encode_attrib(Buffer *, Attrib *); +/* Clear contents of attributes structure */ +void attrib_clear(Attrib *); +/* Convert from struct stat to filexfer attribs */ +void stat_to_attrib(struct stat *, Attrib *); + +/* Decode attributes in buffer */ +Attrib *decode_attrib(Buffer *); + +/* Encode attributes to buffer */ +void encode_attrib(Buffer *, Attrib *); + +/* Convert from SSH2_FX_ status to text error message */ const char *fx2txt(int); +