mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3: Rename cli_setpathinfo->cli_setpathinfo_basic
This commit is contained in:
parent
2d44a0583b
commit
2068b96dce
@ -2296,12 +2296,12 @@ NTSTATUS cli_qpathinfo1(struct cli_state *cli,
|
||||
time_t *write_time,
|
||||
SMB_OFF_T *size,
|
||||
uint16 *mode);
|
||||
bool cli_setpathinfo(struct cli_state *cli, const char *fname,
|
||||
time_t create_time,
|
||||
time_t access_time,
|
||||
time_t write_time,
|
||||
time_t change_time,
|
||||
uint16 mode);
|
||||
bool cli_setpathinfo_basic(struct cli_state *cli, const char *fname,
|
||||
time_t create_time,
|
||||
time_t access_time,
|
||||
time_t write_time,
|
||||
time_t change_time,
|
||||
uint16 mode);
|
||||
struct tevent_req *cli_qpathinfo2_send(TALLOC_CTX *mem_ctx,
|
||||
struct event_context *ev,
|
||||
struct cli_state *cli,
|
||||
|
@ -656,12 +656,12 @@ NTSTATUS cli_qpathinfo1(struct cli_state *cli,
|
||||
Send a setpathinfo call.
|
||||
****************************************************************************/
|
||||
|
||||
bool cli_setpathinfo(struct cli_state *cli, const char *fname,
|
||||
time_t create_time,
|
||||
time_t access_time,
|
||||
time_t write_time,
|
||||
time_t change_time,
|
||||
uint16 mode)
|
||||
bool cli_setpathinfo_basic(struct cli_state *cli, const char *fname,
|
||||
time_t create_time,
|
||||
time_t access_time,
|
||||
time_t write_time,
|
||||
time_t change_time,
|
||||
uint16 mode)
|
||||
{
|
||||
unsigned int data_len = 0;
|
||||
unsigned int param_len = 0;
|
||||
|
@ -603,12 +603,12 @@ SMBC_setatr(SMBCCTX * context, SMBCSRV *srv, char *path,
|
||||
* attributes manipulated.
|
||||
*/
|
||||
if (srv->no_pathinfo ||
|
||||
! cli_setpathinfo(srv->cli, path,
|
||||
create_time,
|
||||
access_time,
|
||||
write_time,
|
||||
change_time,
|
||||
mode)) {
|
||||
! cli_setpathinfo_basic(srv->cli, path,
|
||||
create_time,
|
||||
access_time,
|
||||
write_time,
|
||||
change_time,
|
||||
mode)) {
|
||||
|
||||
/*
|
||||
* setpathinfo is not supported; go to plan B.
|
||||
|
Loading…
Reference in New Issue
Block a user