diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-03-15 14:05:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:57:26 -0500 |
commit | 9eb691c4c5aa4435fe5ecb0a68fac07a567afa18 (patch) | |
tree | 4f20762fc0e69904260cc76a5da857736266fb92 /source4/include | |
parent | d16d8e1dcd1a9509f32a8282dedae353c154e499 (diff) | |
download | samba-9eb691c4c5aa4435fe5ecb0a68fac07a567afa18.tar.gz samba-9eb691c4c5aa4435fe5ecb0a68fac07a567afa18.tar.bz2 samba-9eb691c4c5aa4435fe5ecb0a68fac07a567afa18.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
(This used to be commit f1bdca23838d23fbad7f1576c182688b7cd9b73d)
Diffstat (limited to 'source4/include')
-rw-r--r-- | source4/include/smb.h | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/source4/include/smb.h b/source4/include/smb.h index 7b2f1e903c..2ca91f729f 100644 --- a/source4/include/smb.h +++ b/source4/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 |