summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-11-23 03:09:59 +0000
committerAndrew Tridgell <tridge@samba.org>1997-11-23 03:09:59 +0000
commita1c5442abb3bc221157ca3620d35e1a013b26232 (patch)
treeb3d6058c7a997d933926b3c7b2e55ab649016dcd /source3/include
parent74f06e4062634fa4f8cb46915280dedf73d58c6f (diff)
downloadsamba-a1c5442abb3bc221157ca3620d35e1a013b26232.tar.gz
samba-a1c5442abb3bc221157ca3620d35e1a013b26232.tar.bz2
samba-a1c5442abb3bc221157ca3620d35e1a013b26232.zip
test SMBsetatr as well
(This used to be commit 2f29c24ba721e417828efca57011ed45892191a5)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 81868f5e12..1e8c33be15 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -72,7 +72,9 @@ BOOL cli_lock(struct cli_state *cli, int fnum, uint32 offset, uint32 len, int ti
BOOL cli_unlock(struct cli_state *cli, int fnum, uint32 offset, uint32 len, int timeout);
int cli_read(struct cli_state *cli, int fnum, char *buf, uint32 offset, uint16 size);
int cli_write(struct cli_state *cli, int fnum, char *buf, uint32 offset, uint16 size);
-BOOL cli_stat(struct cli_state *cli, char *fname, struct stat *st);
+BOOL cli_getatr(struct cli_state *cli, char *fname,
+ int *attr, uint32 *size, time_t *t);
+BOOL cli_setatr(struct cli_state *cli, char *fname, int attr, time_t t);
BOOL cli_negprot(struct cli_state *cli);
BOOL cli_session_request(struct cli_state *cli, char *host, int name_type,
char *myname);