X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=sftp.h;h=e4aa292598e5c06658b2e680677ca5b8371b96ca;hb=9c5951ed35cf9019bf17685b4356212eae1a63b3;hp=877b01e675ef9ff4f61581f26db7e7a1e93e50b7;hpb=3730ada5ce457468441b32d7e84157e481b8ba75;p=PuTTY.git diff --git a/sftp.h b/sftp.h index 877b01e6..e4aa2925 100644 --- a/sftp.h +++ b/sftp.h @@ -121,6 +121,37 @@ struct fxp_handle *fxp_opendir(char *path); */ void fxp_close(struct fxp_handle *handle); +/* + * Make a directory. + */ +int fxp_mkdir(char *path); + +/* + * Remove a directory. + */ +int fxp_rmdir(char *path); + +/* + * Remove a file. + */ +int fxp_remove(char *fname); + +/* + * Rename a file. + */ +int fxp_rename(char *srcfname, char *dstfname); + +/* + * Return file attributes. + */ +int fxp_stat(char *fname, struct fxp_attrs *attrs); +int fxp_fstat(struct fxp_handle *handle, struct fxp_attrs *attrs); + +/* + * Set file attributes. + */ +int fxp_setstat(char *fname, struct fxp_attrs attrs); + /* * Read from a file. */