mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Give fxp_mkdir_send an attrs parameter.
It's not used anywhere, but this would make it one step easier to add a mode argument to PSFTP's mkdir command, if anyone needs it. Mostly the point is to get rid of the FIXME comment in fxp_mkdir_send itself.
This commit is contained in:
5
sftp.h
5
sftp.h
@ -138,7 +138,7 @@ char *fxp_realpath_recv(struct sftp_packet *pktin, struct sftp_request *req);
|
||||
* if it's being created.
|
||||
*/
|
||||
struct sftp_request *fxp_open_send(const char *path, int type,
|
||||
struct fxp_attrs *attrs);
|
||||
const struct fxp_attrs *attrs);
|
||||
struct fxp_handle *fxp_open_recv(struct sftp_packet *pktin,
|
||||
struct sftp_request *req);
|
||||
|
||||
@ -158,7 +158,8 @@ int fxp_close_recv(struct sftp_packet *pktin, struct sftp_request *req);
|
||||
/*
|
||||
* Make a directory.
|
||||
*/
|
||||
struct sftp_request *fxp_mkdir_send(const char *path);
|
||||
struct sftp_request *fxp_mkdir_send(const char *path,
|
||||
const struct fxp_attrs *attrs);
|
||||
int fxp_mkdir_recv(struct sftp_packet *pktin, struct sftp_request *req);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user