X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=sftp.h;h=b48ee64f0571383b02ca960164c5938716c0dc01;hb=382ffaf0262c8b552cf5bd32dbf922ceacbf921d;hp=2eef6e992bd885535347053737c6629b789d78be;hpb=4a0fb28883d80774105eec22f280d8a44a568342;p=PuTTY.git diff --git a/sftp.h b/sftp.h index 2eef6e99..b48ee64f 100644 --- a/sftp.h +++ b/sftp.h @@ -122,19 +122,36 @@ struct fxp_handle *fxp_opendir(char *path); void fxp_close(struct fxp_handle *handle); /* - * Makes a directory + * Make a directory. */ int fxp_mkdir(char *path); /* - * Removes a directory + * Remove a directory. */ int fxp_rmdir(char *path); /* - * Removes a file + * Remove a file. */ -int fxp_rm(char *fname); +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); +int fxp_fsetstat(struct fxp_handle *handle, struct fxp_attrs attrs); /* * Read from a file.