source: trunk/server/source3/librpc/gen_ndr/notify.h@ 873

Last change on this file since 873 was 873, checked in by Silvan Scherrer, 11 years ago

samba server 3.6: change EOL style of a lot files. This hurts on every patch

File size: 2.2 KB
Line 
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
15struct 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
26struct notify_entry_array {
27 uint32_t num_entries;
28 struct notify_entry *entries;
29}/* [public] */;
30
31struct 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
38struct notify_array {
39 uint32_t num_depths;
40 struct notify_depth *depth;
41}/* [public] */;
42
43struct 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
49enum 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
74struct 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 */
Note: See TracBrowser for help on using the repository browser.