summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-03-22 12:16:52 +0100
committerVolker Lendecke <vl@samba.org>2012-03-22 12:18:34 +0100
commit7a19b18b8238421e682ca7059486c41d5aa4279d (patch)
tree65d07440e7265ea09730a2eb7aff716acedae4dd /source3
parentc6669677b1e9628e60c1ffb21a0e8c2516106c50 (diff)
downloadsamba-7a19b18b8238421e682ca7059486c41d5aa4279d.tar.gz
samba-7a19b18b8238421e682ca7059486c41d5aa4279d.tar.bz2
samba-7a19b18b8238421e682ca7059486c41d5aa4279d.zip
s3: Add FILE_NOTIFY_CHANGE_ALL #define
Diffstat (limited to 'source3')
-rw-r--r--source3/include/smb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index a12ca54d20..01253f0c54 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -915,6 +915,14 @@ struct connections_data {
#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