1 /* header auto-generated by pidl */
3 #ifndef _PIDL_HEADER_notify
4 #define _PIDL_HEADER_notify
8 #include "libcli/util/ntstatus.h"
10 #include "librpc/gen_ndr/file_id.h"
11 #include "librpc/gen_ndr/server_id.h"
12 #ifndef _HEADER_notify
13 #define _HEADER_notify
16 struct server_id server;
18 uint32_t subdir_filter;
20 struct file_id dir_id;
21 const char * path;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
26 struct notify_entry_array {
28 struct notify_entry *entries;
31 struct notify_db_entry {
32 struct server_id server;
34 uint32_t subdir_filter;
40 uint32_t max_mask_subdir;
42 struct notify_entry *entries;
47 struct notify_depth *depth;
52 const char * path;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
56 struct notify_remote_event {
59 const char * path;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
62 enum FILE_NOTIFY_ACTION
63 #ifndef USE_UINT_ENUMS
65 FILE_ACTION_ADDED=(int)(0x00000001),
66 FILE_ACTION_REMOVED=(int)(0x00000002),
67 FILE_ACTION_MODIFIED=(int)(0x00000003),
68 FILE_ACTION_RENAMED_OLD_NAME=(int)(0x00000004),
69 FILE_ACTION_RENAMED_NEW_NAME=(int)(0x00000005),
70 FILE_ACTION_ADDED_STREAM=(int)(0x00000006),
71 FILE_ACTION_REMOVED_STREAM=(int)(0x00000007),
72 FILE_ACTION_MODIFIED_STREAM=(int)(0x00000008)
75 { __do_not_use_enum_FILE_NOTIFY_ACTION=0x7FFFFFFF}
76 #define FILE_ACTION_ADDED ( 0x00000001 )
77 #define FILE_ACTION_REMOVED ( 0x00000002 )
78 #define FILE_ACTION_MODIFIED ( 0x00000003 )
79 #define FILE_ACTION_RENAMED_OLD_NAME ( 0x00000004 )
80 #define FILE_ACTION_RENAMED_NEW_NAME ( 0x00000005 )
81 #define FILE_ACTION_ADDED_STREAM ( 0x00000006 )
82 #define FILE_ACTION_REMOVED_STREAM ( 0x00000007 )
83 #define FILE_ACTION_MODIFIED_STREAM ( 0x00000008 )
87 struct FILE_NOTIFY_INFORMATION {
88 uint32_t NextEntryOffset;
89 enum FILE_NOTIFY_ACTION Action;
90 uint32_t FileNameLength;/* [value(strlen_m(FileName1)*2)] */
91 const char *FileName1;/* [charset(UTF16),flag(LIBNDR_FLAG_STR_NOTERM)] */
92 }/* [gensize,public,flag(LIBNDR_FLAG_ALIGN4)] */;
94 #endif /* _HEADER_notify */
95 #endif /* _PIDL_HEADER_notify */