diff options
author | Aravind Srinivasan <aravind.srinivasan@isilon.com> | 2009-11-17 15:24:40 -0800 |
---|---|---|
committer | Steven Danneman <steven.danneman@isilon.com> | 2009-11-17 17:06:26 -0800 |
commit | 74471387e03c9a0b12198275826ee56ee68994ab (patch) | |
tree | 7e98ca7b1bde907da482f377c0d25799f4ffc4fd /source4 | |
parent | f7e3809d66c54e26a7b8f8bc93b530bc9fc35f40 (diff) | |
download | samba-74471387e03c9a0b12198275826ee56ee68994ab.tar.gz samba-74471387e03c9a0b12198275826ee56ee68994ab.tar.bz2 samba-74471387e03c9a0b12198275826ee56ee68994ab.zip |
s4/libcli: add a FILE_NOTIFY_CHANGE_ALL macro
This macro encompasses all possible file notifications that can
be raised.
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/raw/smb.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/libcli/raw/smb.h b/source4/libcli/raw/smb.h index d4091acf48..4fbf76f7ba 100644 --- a/source4/libcli/raw/smb.h +++ b/source4/libcli/raw/smb.h @@ -464,6 +464,14 @@ #define FILE_NOTIFY_CHANGE_NAME \ (FILE_NOTIFY_CHANGE_FILE_NAME|FILE_NOTIFY_CHANGE_DIR_NAME) +#define FILE_NOTIFY_CHANGE_ALL \ + (FILE_NOTIFY_CHANGE_FILE_NAME | FILE_NOTIFY_CHANGE_DIR_NAME | \ + FILE_NOTIFY_CHANGE_ATTRIBUTES | FILE_NOTIFY_CHANGE_SIZE | \ + FILE_NOTIFY_CHANGE_LAST_WRITE | FILE_NOTIFY_CHANGE_LAST_ACCESS | \ + FILE_NOTIFY_CHANGE_CREATION | FILE_NOTIFY_CHANGE_EA | \ + FILE_NOTIFY_CHANGE_SECURITY | FILE_NOTIFY_CHANGE_STREAM_NAME | \ + FILE_NOTIFY_CHANGE_STREAM_SIZE | FILE_NOTIFY_CHANGE_STREAM_WRITE) + /* change notify action results */ #define NOTIFY_ACTION_ADDED 1 #define NOTIFY_ACTION_REMOVED 2 |