summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-03-15 14:05:09 +0000
committerStefan Metzmacher <metze@samba.org>2006-03-15 14:05:09 +0000
commit49dafe90970a97afa46f0bb438bea11b024a5f15 (patch)
tree63d6210ff305e08dcf8d843208aebc2012bd2441 /source
parent1aa766395661848523579f6b08d1efcfe764cb99 (diff)
downloadsamba-49dafe90970a97afa46f0bb438bea11b024a5f15.tar.gz
samba-49dafe90970a97afa46f0bb438bea11b024a5f15.tar.xz
samba-49dafe90970a97afa46f0bb438bea11b024a5f15.zip
r14445: add FILE_NOTIFY_CHANGE_STREAM_* flags from:
http://ubiqx.org/cifs/rfc-draft/draft-leach-cifs-v1-spec-02.html#s4.3.7 tridge: there's also the buffering documented... metze
Diffstat (limited to 'source')
-rw-r--r--source/include/smb.h26
-rw-r--r--source/lib/replace/win32/replace.h6
2 files changed, 21 insertions, 11 deletions
diff --git a/source/include/smb.h b/source/include/smb.h
index 7b2f1e903c5..2ca91f729f8 100644
--- a/source/include/smb.h
+++ b/source/include/smb.h
@@ -421,16 +421,22 @@
#define FILE_VOLUME_IS_COMPRESSED 0x8000
/* ChangeNotify flags. */
-#define FILE_NOTIFY_CHANGE_FILE 0x001
-#define FILE_NOTIFY_CHANGE_DIR_NAME 0x002
-#define FILE_NOTIFY_CHANGE_ATTRIBUTES 0x004
-#define FILE_NOTIFY_CHANGE_SIZE 0x008
-#define FILE_NOTIFY_CHANGE_LAST_WRITE 0x010
-#define FILE_NOTIFY_CHANGE_LAST_ACCESS 0x020
-#define FILE_NOTIFY_CHANGE_CREATION 0x040
-#define FILE_NOTIFY_CHANGE_EA 0x080
-#define FILE_NOTIFY_CHANGE_SECURITY 0x100
-#define FILE_NOTIFY_CHANGE_FILE_NAME 0x200
+#define FILE_NOTIFY_CHANGE_FILE_NAME 0x00000001
+#define FILE_NOTIFY_CHANGE_DIR_NAME 0x00000002
+#define FILE_NOTIFY_CHANGE_DIR_NAME 0x00000002
+#define FILE_NOTIFY_CHANGE_ATTRIBUTES 0x00000004
+#define FILE_NOTIFY_CHANGE_SIZE 0x00000008
+#define FILE_NOTIFY_CHANGE_LAST_WRITE 0x00000010
+#define FILE_NOTIFY_CHANGE_LAST_ACCESS 0x00000020
+#define FILE_NOTIFY_CHANGE_CREATION 0x00000040
+#define FILE_NOTIFY_CHANGE_EA 0x00000080
+#define FILE_NOTIFY_CHANGE_SECURITY 0x00000100
+#define FILE_NOTIFY_CHANGE_STREAM_NAME 0x00000200
+#define FILE_NOTIFY_CHANGE_STREAM_SIZE 0x00000400
+#define FILE_NOTIFY_CHANGE_STREAM_WRITE 0x00000800
+
+#define FILE_NOTIFY_CHANGE_NAME \
+ (FILE_NOTIFY_CHANGE_FILE_NAME|FILE_NOTIFY_CHANGE_DIR_NAME)
/* change notify action results */
#define NOTIFY_ACTION_ADDED 1
diff --git a/source/lib/replace/win32/replace.h b/source/lib/replace/win32/replace.h
index 185d448d954..9901e72f6ef 100644
--- a/source/lib/replace/win32/replace.h
+++ b/source/lib/replace/win32/replace.h
@@ -67,6 +67,7 @@
#undef FILE_FILE_COMPRESSION
#undef FILE_VOLUME_QUOTAS
#undef FILE_VOLUME_IS_COMPRESSED
+#undef FILE_NOTIFY_CHANGE_FILE_NAME
#undef FILE_NOTIFY_CHANGE_DIR_NAME
#undef FILE_NOTIFY_CHANGE_ATTRIBUTES
#undef FILE_NOTIFY_CHANGE_SIZE
@@ -75,7 +76,10 @@
#undef FILE_NOTIFY_CHANGE_CREATION
#undef FILE_NOTIFY_CHANGE_EA
#undef FILE_NOTIFY_CHANGE_SECURITY
-#undef FILE_NOTIFY_CHANGE_FILE_NAME
+#undef FILE_NOTIFY_CHANGE_STREAM_NAME
+#undef FILE_NOTIFY_CHANGE_STREAM_SIZE
+#undef FILE_NOTIFY_CHANGE_STREAM_WRITE
+#undef FILE_NOTIFY_CHANGE_NAME
#undef PRINTER_ATTRIBUTE_QUEUED
#undef PRINTER_ATTRIBUTE_DIRECT