summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-03-29 00:58:52 +0000
committerJeremy Allison <jra@samba.org>2001-03-29 00:58:52 +0000
commit1b95784324cd518d166cc790d9b1cf8a7905aed6 (patch)
treea775cd918fefde0fdcc119af958f3e50f3d23ade /source3/include
parent559c1692e7b23aca69ca747098dc594b8e0e61d0 (diff)
downloadsamba-1b95784324cd518d166cc790d9b1cf8a7905aed6.tar.gz
samba-1b95784324cd518d166cc790d9b1cf8a7905aed6.tar.bz2
samba-1b95784324cd518d166cc790d9b1cf8a7905aed6.zip
Added cli_nt_create_full() as a way to get at all the ntcreate parameters.
Used in smbtorture mods. Re-cast cli_nt_create() as a call to cli_nt_create_full(). Jeremy. (This used to be commit f602fa1205e99541e825ccae8502c35cd0e7ccfc)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index ef5f60522b..38706b1d62 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -875,6 +875,9 @@ BOOL cli_rename(struct cli_state *cli, char *fname_src, char *fname_dst);
BOOL cli_unlink(struct cli_state *cli, char *fname);
BOOL cli_mkdir(struct cli_state *cli, char *dname);
BOOL cli_rmdir(struct cli_state *cli, char *dname);
+int cli_nt_create_full(struct cli_state *cli, char *fname, uint32 DesiredAccess,
+ uint32 FileAttributes, uint32 ShareAccess,
+ uint32 CreateDisposition, uint32 CreateOptions);
int cli_nt_create(struct cli_state *cli, char *fname, uint32 DesiredAccess);
int cli_open(struct cli_state *cli, char *fname, int flags, int share_mode);
BOOL cli_close(struct cli_state *cli, int fnum);