X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=sftp.h;h=8f671ad7eda37152c5a1fce6f431d49b9259ed51;hb=afbd7779e49eaf5f36a8cc94a6ccde1db6d0ba16;hp=e4aa292598e5c06658b2e680677ca5b8371b96ca;hpb=9c5951ed35cf9019bf17685b4356212eae1a63b3;p=PuTTY.git 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);