X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/d92624dccee63e8bee8653e8ae845ffad3490b67..70cd2027d47923b19665b4b1e31f462ec63f8c57:/sftp.h diff --git a/sftp.h b/sftp.h index e4aa2925..8f671ad7 100644 --- 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); +int fxp_fsetstat(struct fxp_handle *handle, struct fxp_attrs attrs); /* * 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); + +/* + * Duplicate and free fxp_name structures. + */ +struct fxp_name *fxp_dup_name(struct fxp_name *name); +void fxp_free_name(struct fxp_name *name);