summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-07-07 01:50:18 +0200
committerGünther Deschner <gd@samba.org>2010-07-07 13:52:18 +0200
commit6ab9eaf90fa732153dc500087b6f7dcea2a94465 (patch)
treef48eae103f4095659833ed6dd906cda40f11be73
parent2c1279f454124c9921bce7005b3bc8296c9fc4aa (diff)
downloadsamba-6ab9eaf90fa732153dc500087b6f7dcea2a94465.tar.gz
samba-6ab9eaf90fa732153dc500087b6f7dcea2a94465.tar.bz2
samba-6ab9eaf90fa732153dc500087b6f7dcea2a94465.zip
s3-notify: add MS-CIFS 2.2.7.4.2 FILE_NOTIFY_INFORMATION to IDL.
Guenther
-rw-r--r--source3/librpc/idl/notify.idl19
1 files changed, 19 insertions, 0 deletions
diff --git a/source3/librpc/idl/notify.idl b/source3/librpc/idl/notify.idl
index 0e80679074..040f661b33 100644
--- a/source3/librpc/idl/notify.idl
+++ b/source3/librpc/idl/notify.idl
@@ -60,4 +60,23 @@ interface notify
pointer private_data;
} notify_event;
+ typedef [v1_enum] enum {
+ FILE_ACTION_ADDED = 0x00000001,
+ FILE_ACTION_REMOVED = 0x00000002,
+ FILE_ACTION_MODIFIED = 0x00000003,
+ FILE_ACTION_RENAMED_OLD_NAME = 0x00000004,
+ FILE_ACTION_RENAMED_NEW_NAME = 0x00000005,
+ FILE_ACTION_ADDED_STREAM = 0x00000006,
+ FILE_ACTION_REMOVED_STREAM = 0x00000007,
+ FILE_ACTION_MODIFIED_STREAM = 0x00000008
+ } FILE_NOTIFY_ACTION;
+
+ /* structure sent at the CIFS layer */
+ /* Align on 4-byte boundary according to MS-CIFS 2.2.7.4.2 */
+ typedef [public,gensize,flag(NDR_ALIGN4)] struct {
+ uint32 NextEntryOffset;
+ FILE_NOTIFY_ACTION Action;
+ [value(strlen_m(FileName1)*2)] uint32 FileNameLength;
+ [charset(UTF16),flag(STR_NOTERM)] uint16 FileName1[FileNameLength];
+ } FILE_NOTIFY_INFORMATION;
}