summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-01-16 12:45:22 +0100
committerVolker Lendecke <vl@samba.org>2011-01-17 08:03:42 +0100
commit2068b96dce77735a9b93bee49b5750c574e79652 (patch)
tree7c7a4269ac14c20facac2743b66b28836cbcedc9 /source3
parent2d44a0583b6e32849741d97ccac8bd0468d0e7e8 (diff)
downloadsamba-2068b96dce77735a9b93bee49b5750c574e79652.tar.gz
samba-2068b96dce77735a9b93bee49b5750c574e79652.tar.bz2
samba-2068b96dce77735a9b93bee49b5750c574e79652.zip
s3: Rename cli_setpathinfo->cli_setpathinfo_basic
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h12
-rw-r--r--source3/libsmb/clirap.c12
-rw-r--r--source3/libsmb/libsmb_file.c12
3 files changed, 18 insertions, 18 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index aba244321c..d8a13bb2aa 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -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,
diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c
index 9c87f04d02..80d93d32d8 100644
--- a/source3/libsmb/clirap.c
+++ b/source3/libsmb/clirap.c
@@ -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;
diff --git a/source3/libsmb/libsmb_file.c b/source3/libsmb/libsmb_file.c
index 6b08b61c2e..6216c38bb1 100644
--- a/source3/libsmb/libsmb_file.c
+++ b/source3/libsmb/libsmb_file.c
@@ -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.