git add -f bin/default/librpc/gen_ndr/*.[ch] bin/default/source*/librpc/gen_ndr/...
[metze/samba/wip.git] / bin.gen_ndr / default / librpc / gen_ndr / notify.h
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_db_entry {
32         struct server_id server;
33         uint32_t filter;
34         uint32_t subdir_filter;
35         void* private_data;
36 }/* [public] */;
37
38 struct notify_depth {
39         uint32_t max_mask;
40         uint32_t max_mask_subdir;
41         uint32_t num_entries;
42         struct notify_entry *entries;
43 };
44
45 struct notify_array {
46         uint32_t num_depths;
47         struct notify_depth *depth;
48 }/* [public] */;
49
50 struct notify_event {
51         uint32_t action;
52         const char * path;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
53         void* private_data;
54 }/* [public] */;
55
56 struct notify_remote_event {
57         uint32_t action;
58         uint32_t filter;
59         const char * path;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
60 }/* [public] */;
61
62 enum FILE_NOTIFY_ACTION
63 #ifndef USE_UINT_ENUMS
64  {
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)
73 }
74 #else
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 )
84 #endif
85 ;
86
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)] */;
93
94 #endif /* _HEADER_notify */
95 #endif /* _PIDL_HEADER_notify */