summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2009-08-21 14:56:32 +0200
committerVolker Lendecke <vl@samba.org>2009-08-21 15:02:10 +0200
commitd20061abe379253f4b471dc89ddcbc1af32842bd (patch)
tree98ee1b678343d611bdca2335f79520b8d7a14d5f
parente71ce2f9e3c6ae404d9ca8ec4e9a8b689d9dddb4 (diff)
downloadsamba-d20061abe379253f4b471dc89ddcbc1af32842bd.tar.gz
samba-d20061abe379253f4b471dc89ddcbc1af32842bd.tar.bz2
samba-d20061abe379253f4b471dc89ddcbc1af32842bd.zip
Add missing CreateFile flags to smb.h
-rw-r--r--source3/include/smb.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 4cd090bc7d..9d1e22b064 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1333,12 +1333,23 @@ struct bitmap {
#define FILE_DIRECTORY_FILE 0x0001
#define FILE_WRITE_THROUGH 0x0002
#define FILE_SEQUENTIAL_ONLY 0x0004
+#define FILE_NO_INTERMEDIATE_BUFFERING 0x0008
+#define FILE_SYNCHRONOUS_IO_ALERT 0x0010 /* may be ignored */
+#define FILE_SYNCHRONOUS_IO_NONALERT 0x0020 /* may be ignored */
#define FILE_NON_DIRECTORY_FILE 0x0040
+#define FILE_CREATE_TREE_CONNECTION 0x0080 /* ignore, should be zero */
+#define FILE_COMPLETE_IF_OPLOCKED 0x0100 /* ignore, should be zero */
#define FILE_NO_EA_KNOWLEDGE 0x0200
-#define FILE_EIGHT_DOT_THREE_ONLY 0x0400
+#define FILE_EIGHT_DOT_THREE_ONLY 0x0400 /* aka OPEN_FOR_RECOVERY: ignore, should be zero */
#define FILE_RANDOM_ACCESS 0x0800
#define FILE_DELETE_ON_CLOSE 0x1000
#define FILE_OPEN_BY_FILE_ID 0x2000
+#define FILE_OPEN_FOR_BACKUP_INTENT 0x4000
+#define FILE_NO_COMPRESSION 0x8000
+#define FILE_RESERVER_OPFILTER 0x00100000 /* ignore, should be zero */
+#define FILE_OPEN_REPARSE_POINT 0x00200000
+#define FILE_OPEN_NO_RECALL 0x00400000
+#define FILE_OPEN_FOR_FREE_SPACE_QUERY 0x00800000 /* ignore should be zero */
#define NTCREATEX_OPTIONS_MUST_IGNORE_MASK (0x008F0480)