Consider shared IDL files and Samba3-specific IDL files separately, allow overriding...
[Samba/bb.git] / source3 / librpc / gen_ndr / eventlog.h
blob76b9e863bb00adead1ba5ac3d809edd4ead8821d
1 /* header auto-generated by pidl */
3 #include <stdint.h>
5 #include "librpc/gen_ndr/lsa.h"
6 #include "librpc/gen_ndr/security.h"
7 #ifndef _HEADER_eventlog
8 #define _HEADER_eventlog
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 )
16 /* bitmap eventlogEventTypes */
17 #define EVENTLOG_SUCCESS ( 0x0000 )
18 #define EVENTLOG_ERROR_TYPE ( 0x0001 )
19 #define EVENTLOG_WARNING_TYPE ( 0x0002 )
20 #define EVENTLOG_INFORMATION_TYPE ( 0x0004 )
21 #define EVENTLOG_AUDIT_SUCCESS ( 0x0008 )
22 #define EVENTLOG_AUDIT_FAILURE ( 0x0010 )
24 struct eventlog_OpenUnknown0 {
25 uint16_t unknown0;
26 uint16_t unknown1;
29 struct eventlog_Record {
30 uint32_t size;
31 uint32_t reserved;
32 uint32_t record_number;
33 uint32_t time_generated;
34 uint32_t time_written;
35 uint32_t event_id;
36 uint16_t event_type;
37 uint16_t num_of_strings;
38 uint16_t event_category;
39 uint16_t reserved_flags;
40 uint32_t closing_record_number;
41 uint32_t stringoffset;
42 uint32_t sid_length;
43 uint32_t sid_offset;
44 uint32_t data_length;
45 uint32_t data_offset;
46 const char * source_name;/* [flag(LIBNDR_FLAG_STR_NULLTERM)] */
47 const char * computer_name;/* [flag(LIBNDR_FLAG_STR_NULLTERM)] */
48 const char * *strings;/* [flag(LIBNDR_FLAG_STR_NULLTERM)] */
49 const char * raw_data;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
50 }/* [public] */;
53 struct eventlog_ClearEventLogW {
54 struct {
55 struct policy_handle *handle;/* [ref] */
56 struct lsa_String *backupfile;/* [unique] */
57 } in;
59 struct {
60 NTSTATUS result;
61 } out;
66 struct eventlog_BackupEventLogW {
67 struct {
68 NTSTATUS result;
69 } out;
74 struct eventlog_CloseEventLog {
75 struct {
76 struct policy_handle *handle;/* [ref] */
77 } in;
79 struct {
80 struct policy_handle *handle;/* [ref] */
81 NTSTATUS result;
82 } out;
87 struct eventlog_DeregisterEventSource {
88 struct {
89 NTSTATUS result;
90 } out;
95 struct eventlog_GetNumRecords {
96 struct {
97 struct policy_handle *handle;/* [ref] */
98 } in;
100 struct {
101 uint32_t *number;/* [ref] */
102 NTSTATUS result;
103 } out;
108 struct eventlog_GetOldestRecord {
109 struct {
110 struct policy_handle *handle;/* [ref] */
111 } in;
113 struct {
114 uint32_t *oldest_entry;/* [ref] */
115 NTSTATUS result;
116 } out;
121 struct eventlog_ChangeNotify {
122 struct {
123 NTSTATUS result;
124 } out;
129 struct eventlog_OpenEventLogW {
130 struct {
131 struct eventlog_OpenUnknown0 *unknown0;/* [unique] */
132 struct lsa_String *logname;/* [ref] */
133 struct lsa_String *servername;/* [ref] */
134 uint32_t major_version;
135 uint32_t minor_version;
136 } in;
138 struct {
139 struct policy_handle *handle;/* [ref] */
140 NTSTATUS result;
141 } out;
146 struct eventlog_RegisterEventSourceW {
147 struct {
148 NTSTATUS result;
149 } out;
154 struct eventlog_OpenBackupEventLogW {
155 struct {
156 NTSTATUS result;
157 } out;
162 struct eventlog_ReadEventLogW {
163 struct {
164 struct policy_handle *handle;/* [ref] */
165 uint32_t flags;
166 uint32_t offset;
167 uint32_t number_of_bytes;/* [range(0,0x7FFFF)] */
168 } in;
170 struct {
171 uint8_t *data;/* [ref,size_is(number_of_bytes)] */
172 uint32_t *sent_size;/* [ref] */
173 uint32_t *real_size;/* [ref] */
174 NTSTATUS result;
175 } out;
180 struct eventlog_ReportEventW {
181 struct {
182 NTSTATUS result;
183 } out;
188 struct eventlog_ClearEventLogA {
189 struct {
190 NTSTATUS result;
191 } out;
196 struct eventlog_BackupEventLogA {
197 struct {
198 NTSTATUS result;
199 } out;
204 struct eventlog_OpenEventLogA {
205 struct {
206 NTSTATUS result;
207 } out;
212 struct eventlog_RegisterEventSourceA {
213 struct {
214 NTSTATUS result;
215 } out;
220 struct eventlog_OpenBackupEventLogA {
221 struct {
222 NTSTATUS result;
223 } out;
228 struct eventlog_ReadEventLogA {
229 struct {
230 NTSTATUS result;
231 } out;
236 struct eventlog_ReportEventA {
237 struct {
238 NTSTATUS result;
239 } out;
244 struct eventlog_RegisterClusterSvc {
245 struct {
246 NTSTATUS result;
247 } out;
252 struct eventlog_DeregisterClusterSvc {
253 struct {
254 NTSTATUS result;
255 } out;
260 struct eventlog_WriteClusterEvents {
261 struct {
262 NTSTATUS result;
263 } out;
268 struct eventlog_GetLogIntormation {
269 struct {
270 NTSTATUS result;
271 } out;
276 struct eventlog_FlushEventLog {
277 struct {
278 struct policy_handle *handle;/* [ref] */
279 } in;
281 struct {
282 NTSTATUS result;
283 } out;
287 #endif /* _HEADER_eventlog */