summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-12-04 07:26:56 +0000
committerAndrew Tridgell <tridge@samba.org>2000-12-04 07:26:56 +0000
commitd93101300820514c038ae52ffaf8150594701d07 (patch)
tree0958a1fb47fa0bd6cb02aa54c864ffd978282ed5 /source3/include
parent54100bac69641254f512bfe6d1449e8d217e5af5 (diff)
downloadsamba-d93101300820514c038ae52ffaf8150594701d07.tar.gz
samba-d93101300820514c038ae52ffaf8150594701d07.tar.bz2
samba-d93101300820514c038ae52ffaf8150594701d07.zip
pass the desired access into cli_nt_create()
(This used to be commit a2d07994e0376a8d530d262573c96710bdff2236)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/include/smb.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 0e326aaf1e..b51b57716b 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -675,7 +675,7 @@ 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(struct cli_state *cli, char *fname);
+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);
BOOL cli_lock(struct cli_state *cli, int fnum,
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 300fd9872a..1e5d312997 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1076,6 +1076,9 @@ struct bitmap {
#define FILE_WRITE_ATTRIBUTES 0x100
#define FILE_ALL_ATTRIBUTES 0x1FF
+
+/* the desired access to use when opening a pipe */
+#define DESIRED_ACCESS_PIPE 0x2019f
/* Generic access masks & rights. */
#define SPECIFIC_RIGHTS_MASK 0x00FFFFL