summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2018-05-27 13:01:50 +0200
committerJeremy Allison <jra@samba.org>2018-05-30 19:10:26 +0200
commit37e7ff05ab9443c0330e68f5c701ffecedf2d738 (patch)
tree443ce3ad59e0423d141c0f801b8042a6893f49b6 /source3/include
parentf166207fc0344b51879d863857055ab7ff36a09b (diff)
downloadsamba-37e7ff05ab9443c0330e68f5c701ffecedf2d738.tar.gz
s3:smbd: add private option NTCREATEX_OPTIONS_PRIVATE_STREAM_BASEOPEN
This will be used to mark basefile opens of streams opens. This is needed to later implement a function that can determine if a file has stream opens. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13451 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 3316f09d94f..5e83ee90afe 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -419,6 +419,9 @@ Offset Data length.
/* Private options for printer support */
#define NTCREATEX_OPTIONS_PRIVATE_DELETE_ON_CLOSE 0x0008
+/* Private option for streams support */
+#define NTCREATEX_OPTIONS_PRIVATE_STREAM_BASEOPEN 0x0010
+
/* Flag for NT transact rename call. */
#define RENAME_REPLACE_IF_EXISTS 1