mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
s3-notify: add MS-CIFS 2.2.7.4.2 FILE_NOTIFY_INFORMATION to IDL.
Guenther
This commit is contained in:
parent
2c1279f454
commit
6ab9eaf90f
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user