librpc: Re-run make idl_full
[samba.git] / librpc / gen_ndr / eventlog.h
1 /* header auto-generated by pidl */
2
3 #include <stdint.h>
4
5 #include "librpc/gen_ndr/lsa.h"
6 #include "librpc/gen_ndr/security.h"
7 #ifndef _HEADER_eventlog
8 #define _HEADER_eventlog
9
10 /* bitmap eventlogReadFlags */
11 #define EVENTLOG_SEQUENTIAL_READ ( 0x0001 )
12 #define EVENTLOG_SEEK_READ ( 0x0002 )
13 #define EVENTLOG_FORWARDS_READ ( 0x0004 )
14 #define EVENTLOG_BACKWARDS_READ ( 0x0008 )
15
16 enum eventlogEventTypes
17 #ifndef USE_UINT_ENUMS
18  {
19         EVENTLOG_SUCCESS=0x0000,
20         EVENTLOG_ERROR_TYPE=0x0001,
21         EVENTLOG_WARNING_TYPE=0x0002,
22         EVENTLOG_INFORMATION_TYPE=0x0004,
23         EVENTLOG_AUDIT_SUCCESS=0x0008,
24         EVENTLOG_AUDIT_FAILURE=0x0010
25 }
26 #else
27  { __donnot_use_enum_eventlogEventTypes=0x7FFFFFFF}
28 #define EVENTLOG_SUCCESS ( 0x0000 )
29 #define EVENTLOG_ERROR_TYPE ( 0x0001 )
30 #define EVENTLOG_WARNING_TYPE ( 0x0002 )
31 #define EVENTLOG_INFORMATION_TYPE ( 0x0004 )
32 #define EVENTLOG_AUDIT_SUCCESS ( 0x0008 )
33 #define EVENTLOG_AUDIT_FAILURE ( 0x0010 )
34 #endif
35 ;
36
37 struct eventlog_OpenUnknown0 {
38         uint16_t unknown0;
39         uint16_t unknown1;
40 };
41
42 struct eventlog_Record {
43         uint32_t size;
44         const char *reserved;/* [value("eLfL"),charset(DOS)] */
45         uint32_t record_number;
46         time_t time_generated;
47         time_t time_written;
48         uint32_t event_id;
49         enum eventlogEventTypes event_type;
50         uint16_t num_of_strings;/* [max(256)] */
51         uint16_t event_category;
52         uint16_t reserved_flags;
53         uint32_t closing_record_number;
54         uint32_t stringoffset;
55         uint32_t sid_size;/* [value(ndr_size_dom_sid0(&sid,ndr->flags))] */
56         uint32_t sid_offset;
57         uint32_t data_length;
58         uint32_t data_offset;
59         const char * source_name;/* [flag(LIBNDR_FLAG_STR_NULLTERM)] */
60         const char * computer_name;/* [flag(LIBNDR_FLAG_STR_NULLTERM)] */
61         struct dom_sid0 sid;/* [subcontext_size(sid_size),subcontext(0)] */
62         const char * *strings;/* [flag(LIBNDR_FLAG_STR_NULLTERM)] */
63         const char * raw_data;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
64         DATA_BLOB _padding;/* [flag(LIBNDR_FLAG_ALIGN4)] */
65         uint32_t size2;/* [value(size)] */
66 }/* [public,flag(LIBNDR_FLAG_NOALIGN)] */;
67
68
69 struct eventlog_ClearEventLogW {
70         struct {
71                 struct policy_handle *handle;/* [ref] */
72                 struct lsa_String *backupfile;/* [unique] */
73         } in;
74
75         struct {
76                 NTSTATUS result;
77         } out;
78
79 };
80
81
82 struct eventlog_BackupEventLogW {
83         struct {
84                 NTSTATUS result;
85         } out;
86
87 };
88
89
90 struct eventlog_CloseEventLog {
91         struct {
92                 struct policy_handle *handle;/* [ref] */
93         } in;
94
95         struct {
96                 struct policy_handle *handle;/* [ref] */
97                 NTSTATUS result;
98         } out;
99
100 };
101
102
103 struct eventlog_DeregisterEventSource {
104         struct {
105                 NTSTATUS result;
106         } out;
107
108 };
109
110
111 struct eventlog_GetNumRecords {
112         struct {
113                 struct policy_handle *handle;/* [ref] */
114         } in;
115
116         struct {
117                 uint32_t *number;/* [ref] */
118                 NTSTATUS result;
119         } out;
120
121 };
122
123
124 struct eventlog_GetOldestRecord {
125         struct {
126                 struct policy_handle *handle;/* [ref] */
127         } in;
128
129         struct {
130                 uint32_t *oldest_entry;/* [ref] */
131                 NTSTATUS result;
132         } out;
133
134 };
135
136
137 struct eventlog_ChangeNotify {
138         struct {
139                 NTSTATUS result;
140         } out;
141
142 };
143
144
145 struct eventlog_OpenEventLogW {
146         struct {
147                 struct eventlog_OpenUnknown0 *unknown0;/* [unique] */
148                 struct lsa_String *logname;/* [ref] */
149                 struct lsa_String *servername;/* [ref] */
150                 uint32_t major_version;
151                 uint32_t minor_version;
152         } in;
153
154         struct {
155                 struct policy_handle *handle;/* [ref] */
156                 NTSTATUS result;
157         } out;
158
159 };
160
161
162 struct eventlog_RegisterEventSourceW {
163         struct {
164                 NTSTATUS result;
165         } out;
166
167 };
168
169
170 struct eventlog_OpenBackupEventLogW {
171         struct {
172                 NTSTATUS result;
173         } out;
174
175 };
176
177
178 struct eventlog_ReadEventLogW {
179         struct {
180                 struct policy_handle *handle;/* [ref] */
181                 uint32_t flags;
182                 uint32_t offset;
183                 uint32_t number_of_bytes;/* [range(0,0x7FFFF)] */
184         } in;
185
186         struct {
187                 uint8_t *data;/* [ref,size_is(number_of_bytes)] */
188                 uint32_t *sent_size;/* [ref] */
189                 uint32_t *real_size;/* [ref] */
190                 NTSTATUS result;
191         } out;
192
193 };
194
195
196 struct eventlog_ReportEventW {
197         struct {
198                 NTSTATUS result;
199         } out;
200
201 };
202
203
204 struct eventlog_ClearEventLogA {
205         struct {
206                 NTSTATUS result;
207         } out;
208
209 };
210
211
212 struct eventlog_BackupEventLogA {
213         struct {
214                 NTSTATUS result;
215         } out;
216
217 };
218
219
220 struct eventlog_OpenEventLogA {
221         struct {
222                 NTSTATUS result;
223         } out;
224
225 };
226
227
228 struct eventlog_RegisterEventSourceA {
229         struct {
230                 NTSTATUS result;
231         } out;
232
233 };
234
235
236 struct eventlog_OpenBackupEventLogA {
237         struct {
238                 NTSTATUS result;
239         } out;
240
241 };
242
243
244 struct eventlog_ReadEventLogA {
245         struct {
246                 NTSTATUS result;
247         } out;
248
249 };
250
251
252 struct eventlog_ReportEventA {
253         struct {
254                 NTSTATUS result;
255         } out;
256
257 };
258
259
260 struct eventlog_RegisterClusterSvc {
261         struct {
262                 NTSTATUS result;
263         } out;
264
265 };
266
267
268 struct eventlog_DeregisterClusterSvc {
269         struct {
270                 NTSTATUS result;
271         } out;
272
273 };
274
275
276 struct eventlog_WriteClusterEvents {
277         struct {
278                 NTSTATUS result;
279         } out;
280
281 };
282
283
284 struct eventlog_GetLogIntormation {
285         struct {
286                 NTSTATUS result;
287         } out;
288
289 };
290
291
292 struct eventlog_FlushEventLog {
293         struct {
294                 struct policy_handle *handle;/* [ref] */
295         } in;
296
297         struct {
298                 NTSTATUS result;
299         } out;
300
301 };
302
303 #endif /* _HEADER_eventlog */