| 1 | /* header auto-generated by pidl */
|
|---|
| 2 |
|
|---|
| 3 | #ifndef _PIDL_HEADER_notify
|
|---|
| 4 | #define _PIDL_HEADER_notify
|
|---|
| 5 |
|
|---|
| 6 | #include <stdint.h>
|
|---|
| 7 |
|
|---|
| 8 | #include "libcli/util/ntstatus.h"
|
|---|
| 9 |
|
|---|
| 10 | #include "librpc/gen_ndr/file_id.h"
|
|---|
| 11 | #include "librpc/gen_ndr/server_id.h"
|
|---|
| 12 | #ifndef _HEADER_notify
|
|---|
| 13 | #define _HEADER_notify
|
|---|
| 14 |
|
|---|
| 15 | struct notify_entry {
|
|---|
| 16 | struct server_id server;
|
|---|
| 17 | uint32_t filter;
|
|---|
| 18 | uint32_t subdir_filter;
|
|---|
| 19 | uint32_t dir_fd;
|
|---|
| 20 | struct file_id dir_id;
|
|---|
| 21 | const char * path;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
|
|---|
| 22 | uint32_t path_len;
|
|---|
| 23 | void* private_data;
|
|---|
| 24 | }/* [public] */;
|
|---|
| 25 |
|
|---|
| 26 | struct notify_entry_array {
|
|---|
| 27 | uint32_t num_entries;
|
|---|
| 28 | struct notify_entry *entries;
|
|---|
| 29 | }/* [public] */;
|
|---|
| 30 |
|
|---|
| 31 | struct notify_depth {
|
|---|
| 32 | uint32_t max_mask;
|
|---|
| 33 | uint32_t max_mask_subdir;
|
|---|
| 34 | uint32_t num_entries;
|
|---|
| 35 | struct notify_entry *entries;
|
|---|
| 36 | };
|
|---|
| 37 |
|
|---|
| 38 | struct notify_array {
|
|---|
| 39 | uint32_t num_depths;
|
|---|
| 40 | struct notify_depth *depth;
|
|---|
| 41 | }/* [public] */;
|
|---|
| 42 |
|
|---|
| 43 | struct notify_event {
|
|---|
| 44 | uint32_t action;
|
|---|
| 45 | const char * path;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
|
|---|
| 46 | void* private_data;
|
|---|
| 47 | }/* [public] */;
|
|---|
| 48 |
|
|---|
| 49 | enum FILE_NOTIFY_ACTION
|
|---|
| 50 | #ifndef USE_UINT_ENUMS
|
|---|
| 51 | {
|
|---|
| 52 | FILE_ACTION_ADDED=(int)(0x00000001),
|
|---|
| 53 | FILE_ACTION_REMOVED=(int)(0x00000002),
|
|---|
| 54 | FILE_ACTION_MODIFIED=(int)(0x00000003),
|
|---|
| 55 | FILE_ACTION_RENAMED_OLD_NAME=(int)(0x00000004),
|
|---|
| 56 | FILE_ACTION_RENAMED_NEW_NAME=(int)(0x00000005),
|
|---|
| 57 | FILE_ACTION_ADDED_STREAM=(int)(0x00000006),
|
|---|
| 58 | FILE_ACTION_REMOVED_STREAM=(int)(0x00000007),
|
|---|
| 59 | FILE_ACTION_MODIFIED_STREAM=(int)(0x00000008)
|
|---|
| 60 | }
|
|---|
| 61 | #else
|
|---|
| 62 | { __donnot_use_enum_FILE_NOTIFY_ACTION=0x7FFFFFFF}
|
|---|
| 63 | #define FILE_ACTION_ADDED ( 0x00000001 )
|
|---|
| 64 | #define FILE_ACTION_REMOVED ( 0x00000002 )
|
|---|
| 65 | #define FILE_ACTION_MODIFIED ( 0x00000003 )
|
|---|
| 66 | #define FILE_ACTION_RENAMED_OLD_NAME ( 0x00000004 )
|
|---|
| 67 | #define FILE_ACTION_RENAMED_NEW_NAME ( 0x00000005 )
|
|---|
| 68 | #define FILE_ACTION_ADDED_STREAM ( 0x00000006 )
|
|---|
| 69 | #define FILE_ACTION_REMOVED_STREAM ( 0x00000007 )
|
|---|
| 70 | #define FILE_ACTION_MODIFIED_STREAM ( 0x00000008 )
|
|---|
| 71 | #endif
|
|---|
| 72 | ;
|
|---|
| 73 |
|
|---|
| 74 | struct FILE_NOTIFY_INFORMATION {
|
|---|
| 75 | uint32_t NextEntryOffset;
|
|---|
| 76 | enum FILE_NOTIFY_ACTION Action;
|
|---|
| 77 | uint32_t FileNameLength;/* [value(strlen_m(FileName1)*2)] */
|
|---|
| 78 | const char *FileName1;/* [charset(UTF16),flag(LIBNDR_FLAG_STR_NOTERM)] */
|
|---|
| 79 | }/* [gensize,public,flag(LIBNDR_FLAG_ALIGN4)] */;
|
|---|
| 80 |
|
|---|
| 81 | #endif /* _HEADER_notify */
|
|---|
| 82 | #endif /* _PIDL_HEADER_notify */
|
|---|