~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reject unrecognised command-line options; thanks rjk.
[sgt/putty]
/
sftp.h
diff --git
a/sftp.h
b/sftp.h
index
e4aa292
..
8f671ad
100644
(file)
--- a/
sftp.h
+++ b/
sftp.h
@@
-151,6
+151,7
@@
int fxp_fstat(struct fxp_handle *handle, struct fxp_attrs *attrs);
* Set file attributes.
*/
int fxp_setstat(char *fname, struct fxp_attrs attrs);
* Set file attributes.
*/
int fxp_setstat(char *fname, struct fxp_attrs attrs);
+int fxp_fsetstat(struct fxp_handle *handle, struct fxp_attrs attrs);
/*
* Read from a file.
/*
* Read from a file.
@@
-173,3
+174,9
@@
struct fxp_names *fxp_readdir(struct fxp_handle *handle);
* Free up an fxp_names structure.
*/
void fxp_free_names(struct fxp_names *names);
* Free up an fxp_names structure.
*/
void fxp_free_names(struct fxp_names *names);
+
+/*
+ * Duplicate and free fxp_name structures.
+ */
+struct fxp_name *fxp_dup_name(struct fxp_name *name);
+void fxp_free_name(struct fxp_name *name);