summaryrefslogtreecommitdiffstats
path: root/source/include
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/include
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/include')
-rw-r--r--source/include/smb.h26
1 files changed, 16 insertions, 10 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