mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
s4/libcli: add a FILE_NOTIFY_CHANGE_ALL macro
This macro encompasses all possible file notifications that can be raised.
This commit is contained in:
parent
f7e3809d66
commit
74471387e0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user