s3:streams: check for :$DATA only in the backend (fix bug #6642)
[Samba/bb.git] / librpc / gen_ndr / cli_eventlog.h
blob7d54234082bb1d18fbb578f3a0656d3e8bed8d49
1 #include "../librpc/gen_ndr/ndr_eventlog.h"
2 #ifndef __CLI_EVENTLOG__
3 #define __CLI_EVENTLOG__
4 struct tevent_req *rpccli_eventlog_ClearEventLogW_send(TALLOC_CTX *mem_ctx,
5 struct tevent_context *ev,
6 struct rpc_pipe_client *cli,
7 struct policy_handle *_handle /* [in] [ref] */,
8 struct lsa_String *_backupfile /* [in] [unique] */);
9 NTSTATUS rpccli_eventlog_ClearEventLogW_recv(struct tevent_req *req,
10 TALLOC_CTX *mem_ctx,
11 NTSTATUS *result);
12 NTSTATUS rpccli_eventlog_ClearEventLogW(struct rpc_pipe_client *cli,
13 TALLOC_CTX *mem_ctx,
14 struct policy_handle *handle /* [in] [ref] */,
15 struct lsa_String *backupfile /* [in] [unique] */);
16 struct tevent_req *rpccli_eventlog_BackupEventLogW_send(TALLOC_CTX *mem_ctx,
17 struct tevent_context *ev,
18 struct rpc_pipe_client *cli,
19 struct policy_handle *_handle /* [in] [ref] */,
20 struct lsa_String *_backup_filename /* [in] [ref] */);
21 NTSTATUS rpccli_eventlog_BackupEventLogW_recv(struct tevent_req *req,
22 TALLOC_CTX *mem_ctx,
23 NTSTATUS *result);
24 NTSTATUS rpccli_eventlog_BackupEventLogW(struct rpc_pipe_client *cli,
25 TALLOC_CTX *mem_ctx,
26 struct policy_handle *handle /* [in] [ref] */,
27 struct lsa_String *backup_filename /* [in] [ref] */);
28 struct tevent_req *rpccli_eventlog_CloseEventLog_send(TALLOC_CTX *mem_ctx,
29 struct tevent_context *ev,
30 struct rpc_pipe_client *cli,
31 struct policy_handle *_handle /* [in,out] [ref] */);
32 NTSTATUS rpccli_eventlog_CloseEventLog_recv(struct tevent_req *req,
33 TALLOC_CTX *mem_ctx,
34 NTSTATUS *result);
35 NTSTATUS rpccli_eventlog_CloseEventLog(struct rpc_pipe_client *cli,
36 TALLOC_CTX *mem_ctx,
37 struct policy_handle *handle /* [in,out] [ref] */);
38 struct tevent_req *rpccli_eventlog_DeregisterEventSource_send(TALLOC_CTX *mem_ctx,
39 struct tevent_context *ev,
40 struct rpc_pipe_client *cli,
41 struct policy_handle *_handle /* [in,out] [ref] */);
42 NTSTATUS rpccli_eventlog_DeregisterEventSource_recv(struct tevent_req *req,
43 TALLOC_CTX *mem_ctx,
44 NTSTATUS *result);
45 NTSTATUS rpccli_eventlog_DeregisterEventSource(struct rpc_pipe_client *cli,
46 TALLOC_CTX *mem_ctx,
47 struct policy_handle *handle /* [in,out] [ref] */);
48 struct tevent_req *rpccli_eventlog_GetNumRecords_send(TALLOC_CTX *mem_ctx,
49 struct tevent_context *ev,
50 struct rpc_pipe_client *cli,
51 struct policy_handle *_handle /* [in] [ref] */,
52 uint32_t *_number /* [out] [ref] */);
53 NTSTATUS rpccli_eventlog_GetNumRecords_recv(struct tevent_req *req,
54 TALLOC_CTX *mem_ctx,
55 NTSTATUS *result);
56 NTSTATUS rpccli_eventlog_GetNumRecords(struct rpc_pipe_client *cli,
57 TALLOC_CTX *mem_ctx,
58 struct policy_handle *handle /* [in] [ref] */,
59 uint32_t *number /* [out] [ref] */);
60 struct tevent_req *rpccli_eventlog_GetOldestRecord_send(TALLOC_CTX *mem_ctx,
61 struct tevent_context *ev,
62 struct rpc_pipe_client *cli,
63 struct policy_handle *_handle /* [in] [ref] */,
64 uint32_t *_oldest_entry /* [out] [ref] */);
65 NTSTATUS rpccli_eventlog_GetOldestRecord_recv(struct tevent_req *req,
66 TALLOC_CTX *mem_ctx,
67 NTSTATUS *result);
68 NTSTATUS rpccli_eventlog_GetOldestRecord(struct rpc_pipe_client *cli,
69 TALLOC_CTX *mem_ctx,
70 struct policy_handle *handle /* [in] [ref] */,
71 uint32_t *oldest_entry /* [out] [ref] */);
72 struct tevent_req *rpccli_eventlog_ChangeNotify_send(TALLOC_CTX *mem_ctx,
73 struct tevent_context *ev,
74 struct rpc_pipe_client *cli);
75 NTSTATUS rpccli_eventlog_ChangeNotify_recv(struct tevent_req *req,
76 TALLOC_CTX *mem_ctx,
77 NTSTATUS *result);
78 NTSTATUS rpccli_eventlog_ChangeNotify(struct rpc_pipe_client *cli,
79 TALLOC_CTX *mem_ctx);
80 struct tevent_req *rpccli_eventlog_OpenEventLogW_send(TALLOC_CTX *mem_ctx,
81 struct tevent_context *ev,
82 struct rpc_pipe_client *cli,
83 struct eventlog_OpenUnknown0 *_unknown0 /* [in] [unique] */,
84 struct lsa_String *_logname /* [in] [ref] */,
85 struct lsa_String *_servername /* [in] [ref] */,
86 uint32_t _major_version /* [in] */,
87 uint32_t _minor_version /* [in] */,
88 struct policy_handle *_handle /* [out] [ref] */);
89 NTSTATUS rpccli_eventlog_OpenEventLogW_recv(struct tevent_req *req,
90 TALLOC_CTX *mem_ctx,
91 NTSTATUS *result);
92 NTSTATUS rpccli_eventlog_OpenEventLogW(struct rpc_pipe_client *cli,
93 TALLOC_CTX *mem_ctx,
94 struct eventlog_OpenUnknown0 *unknown0 /* [in] [unique] */,
95 struct lsa_String *logname /* [in] [ref] */,
96 struct lsa_String *servername /* [in] [ref] */,
97 uint32_t major_version /* [in] */,
98 uint32_t minor_version /* [in] */,
99 struct policy_handle *handle /* [out] [ref] */);
100 struct tevent_req *rpccli_eventlog_RegisterEventSourceW_send(TALLOC_CTX *mem_ctx,
101 struct tevent_context *ev,
102 struct rpc_pipe_client *cli,
103 struct eventlog_OpenUnknown0 *_unknown0 /* [in] [unique] */,
104 struct lsa_String *_module_name /* [in] [ref] */,
105 struct lsa_String *_reg_module_name /* [in] [ref] */,
106 uint32_t _major_version /* [in] */,
107 uint32_t _minor_version /* [in] */,
108 struct policy_handle *_log_handle /* [out] [ref] */);
109 NTSTATUS rpccli_eventlog_RegisterEventSourceW_recv(struct tevent_req *req,
110 TALLOC_CTX *mem_ctx,
111 NTSTATUS *result);
112 NTSTATUS rpccli_eventlog_RegisterEventSourceW(struct rpc_pipe_client *cli,
113 TALLOC_CTX *mem_ctx,
114 struct eventlog_OpenUnknown0 *unknown0 /* [in] [unique] */,
115 struct lsa_String *module_name /* [in] [ref] */,
116 struct lsa_String *reg_module_name /* [in] [ref] */,
117 uint32_t major_version /* [in] */,
118 uint32_t minor_version /* [in] */,
119 struct policy_handle *log_handle /* [out] [ref] */);
120 struct tevent_req *rpccli_eventlog_OpenBackupEventLogW_send(TALLOC_CTX *mem_ctx,
121 struct tevent_context *ev,
122 struct rpc_pipe_client *cli,
123 struct eventlog_OpenUnknown0 *_unknown0 /* [in] [unique] */,
124 struct lsa_String *_backup_logname /* [in] [ref] */,
125 uint32_t _major_version /* [in] */,
126 uint32_t _minor_version /* [in] */,
127 struct policy_handle *_handle /* [out] [ref] */);
128 NTSTATUS rpccli_eventlog_OpenBackupEventLogW_recv(struct tevent_req *req,
129 TALLOC_CTX *mem_ctx,
130 NTSTATUS *result);
131 NTSTATUS rpccli_eventlog_OpenBackupEventLogW(struct rpc_pipe_client *cli,
132 TALLOC_CTX *mem_ctx,
133 struct eventlog_OpenUnknown0 *unknown0 /* [in] [unique] */,
134 struct lsa_String *backup_logname /* [in] [ref] */,
135 uint32_t major_version /* [in] */,
136 uint32_t minor_version /* [in] */,
137 struct policy_handle *handle /* [out] [ref] */);
138 struct tevent_req *rpccli_eventlog_ReadEventLogW_send(TALLOC_CTX *mem_ctx,
139 struct tevent_context *ev,
140 struct rpc_pipe_client *cli,
141 struct policy_handle *_handle /* [in] [ref] */,
142 uint32_t _flags /* [in] */,
143 uint32_t _offset /* [in] */,
144 uint32_t _number_of_bytes /* [in] [range(0,0x7FFFF)] */,
145 uint8_t *_data /* [out] [ref,size_is(number_of_bytes)] */,
146 uint32_t *_sent_size /* [out] [ref] */,
147 uint32_t *_real_size /* [out] [ref] */);
148 NTSTATUS rpccli_eventlog_ReadEventLogW_recv(struct tevent_req *req,
149 TALLOC_CTX *mem_ctx,
150 NTSTATUS *result);
151 NTSTATUS rpccli_eventlog_ReadEventLogW(struct rpc_pipe_client *cli,
152 TALLOC_CTX *mem_ctx,
153 struct policy_handle *handle /* [in] [ref] */,
154 uint32_t flags /* [in] */,
155 uint32_t offset /* [in] */,
156 uint32_t number_of_bytes /* [in] [range(0,0x7FFFF)] */,
157 uint8_t *data /* [out] [ref,size_is(number_of_bytes)] */,
158 uint32_t *sent_size /* [out] [ref] */,
159 uint32_t *real_size /* [out] [ref] */);
160 struct tevent_req *rpccli_eventlog_ReportEventW_send(TALLOC_CTX *mem_ctx,
161 struct tevent_context *ev,
162 struct rpc_pipe_client *cli,
163 struct policy_handle *_handle /* [in] [ref] */,
164 time_t _timestamp /* [in] */,
165 enum eventlogEventTypes _event_type /* [in] */,
166 uint16_t _event_category /* [in] */,
167 uint32_t _event_id /* [in] */,
168 uint16_t _num_of_strings /* [in] [range(0,256)] */,
169 uint32_t _data_size /* [in] [range(0,0x3FFFF)] */,
170 struct lsa_String *_servername /* [in] [ref] */,
171 struct dom_sid *_user_sid /* [in] [unique] */,
172 struct lsa_String **_strings /* [in] [unique,size_is(num_of_strings)] */,
173 uint8_t *_data /* [in] [unique,size_is(data_size)] */,
174 uint16_t _flags /* [in] */,
175 uint32_t *_record_number /* [in,out] [unique] */,
176 time_t *_time_written /* [in,out] [unique] */);
177 NTSTATUS rpccli_eventlog_ReportEventW_recv(struct tevent_req *req,
178 TALLOC_CTX *mem_ctx,
179 NTSTATUS *result);
180 NTSTATUS rpccli_eventlog_ReportEventW(struct rpc_pipe_client *cli,
181 TALLOC_CTX *mem_ctx,
182 struct policy_handle *handle /* [in] [ref] */,
183 time_t timestamp /* [in] */,
184 enum eventlogEventTypes event_type /* [in] */,
185 uint16_t event_category /* [in] */,
186 uint32_t event_id /* [in] */,
187 uint16_t num_of_strings /* [in] [range(0,256)] */,
188 uint32_t data_size /* [in] [range(0,0x3FFFF)] */,
189 struct lsa_String *servername /* [in] [ref] */,
190 struct dom_sid *user_sid /* [in] [unique] */,
191 struct lsa_String **strings /* [in] [unique,size_is(num_of_strings)] */,
192 uint8_t *data /* [in] [unique,size_is(data_size)] */,
193 uint16_t flags /* [in] */,
194 uint32_t *record_number /* [in,out] [unique] */,
195 time_t *time_written /* [in,out] [unique] */);
196 struct tevent_req *rpccli_eventlog_ClearEventLogA_send(TALLOC_CTX *mem_ctx,
197 struct tevent_context *ev,
198 struct rpc_pipe_client *cli);
199 NTSTATUS rpccli_eventlog_ClearEventLogA_recv(struct tevent_req *req,
200 TALLOC_CTX *mem_ctx,
201 NTSTATUS *result);
202 NTSTATUS rpccli_eventlog_ClearEventLogA(struct rpc_pipe_client *cli,
203 TALLOC_CTX *mem_ctx);
204 struct tevent_req *rpccli_eventlog_BackupEventLogA_send(TALLOC_CTX *mem_ctx,
205 struct tevent_context *ev,
206 struct rpc_pipe_client *cli);
207 NTSTATUS rpccli_eventlog_BackupEventLogA_recv(struct tevent_req *req,
208 TALLOC_CTX *mem_ctx,
209 NTSTATUS *result);
210 NTSTATUS rpccli_eventlog_BackupEventLogA(struct rpc_pipe_client *cli,
211 TALLOC_CTX *mem_ctx);
212 struct tevent_req *rpccli_eventlog_OpenEventLogA_send(TALLOC_CTX *mem_ctx,
213 struct tevent_context *ev,
214 struct rpc_pipe_client *cli);
215 NTSTATUS rpccli_eventlog_OpenEventLogA_recv(struct tevent_req *req,
216 TALLOC_CTX *mem_ctx,
217 NTSTATUS *result);
218 NTSTATUS rpccli_eventlog_OpenEventLogA(struct rpc_pipe_client *cli,
219 TALLOC_CTX *mem_ctx);
220 struct tevent_req *rpccli_eventlog_RegisterEventSourceA_send(TALLOC_CTX *mem_ctx,
221 struct tevent_context *ev,
222 struct rpc_pipe_client *cli);
223 NTSTATUS rpccli_eventlog_RegisterEventSourceA_recv(struct tevent_req *req,
224 TALLOC_CTX *mem_ctx,
225 NTSTATUS *result);
226 NTSTATUS rpccli_eventlog_RegisterEventSourceA(struct rpc_pipe_client *cli,
227 TALLOC_CTX *mem_ctx);
228 struct tevent_req *rpccli_eventlog_OpenBackupEventLogA_send(TALLOC_CTX *mem_ctx,
229 struct tevent_context *ev,
230 struct rpc_pipe_client *cli);
231 NTSTATUS rpccli_eventlog_OpenBackupEventLogA_recv(struct tevent_req *req,
232 TALLOC_CTX *mem_ctx,
233 NTSTATUS *result);
234 NTSTATUS rpccli_eventlog_OpenBackupEventLogA(struct rpc_pipe_client *cli,
235 TALLOC_CTX *mem_ctx);
236 struct tevent_req *rpccli_eventlog_ReadEventLogA_send(TALLOC_CTX *mem_ctx,
237 struct tevent_context *ev,
238 struct rpc_pipe_client *cli);
239 NTSTATUS rpccli_eventlog_ReadEventLogA_recv(struct tevent_req *req,
240 TALLOC_CTX *mem_ctx,
241 NTSTATUS *result);
242 NTSTATUS rpccli_eventlog_ReadEventLogA(struct rpc_pipe_client *cli,
243 TALLOC_CTX *mem_ctx);
244 struct tevent_req *rpccli_eventlog_ReportEventA_send(TALLOC_CTX *mem_ctx,
245 struct tevent_context *ev,
246 struct rpc_pipe_client *cli);
247 NTSTATUS rpccli_eventlog_ReportEventA_recv(struct tevent_req *req,
248 TALLOC_CTX *mem_ctx,
249 NTSTATUS *result);
250 NTSTATUS rpccli_eventlog_ReportEventA(struct rpc_pipe_client *cli,
251 TALLOC_CTX *mem_ctx);
252 struct tevent_req *rpccli_eventlog_RegisterClusterSvc_send(TALLOC_CTX *mem_ctx,
253 struct tevent_context *ev,
254 struct rpc_pipe_client *cli);
255 NTSTATUS rpccli_eventlog_RegisterClusterSvc_recv(struct tevent_req *req,
256 TALLOC_CTX *mem_ctx,
257 NTSTATUS *result);
258 NTSTATUS rpccli_eventlog_RegisterClusterSvc(struct rpc_pipe_client *cli,
259 TALLOC_CTX *mem_ctx);
260 struct tevent_req *rpccli_eventlog_DeregisterClusterSvc_send(TALLOC_CTX *mem_ctx,
261 struct tevent_context *ev,
262 struct rpc_pipe_client *cli);
263 NTSTATUS rpccli_eventlog_DeregisterClusterSvc_recv(struct tevent_req *req,
264 TALLOC_CTX *mem_ctx,
265 NTSTATUS *result);
266 NTSTATUS rpccli_eventlog_DeregisterClusterSvc(struct rpc_pipe_client *cli,
267 TALLOC_CTX *mem_ctx);
268 struct tevent_req *rpccli_eventlog_WriteClusterEvents_send(TALLOC_CTX *mem_ctx,
269 struct tevent_context *ev,
270 struct rpc_pipe_client *cli);
271 NTSTATUS rpccli_eventlog_WriteClusterEvents_recv(struct tevent_req *req,
272 TALLOC_CTX *mem_ctx,
273 NTSTATUS *result);
274 NTSTATUS rpccli_eventlog_WriteClusterEvents(struct rpc_pipe_client *cli,
275 TALLOC_CTX *mem_ctx);
276 struct tevent_req *rpccli_eventlog_GetLogInformation_send(TALLOC_CTX *mem_ctx,
277 struct tevent_context *ev,
278 struct rpc_pipe_client *cli,
279 struct policy_handle *_handle /* [in] [ref] */,
280 uint32_t _level /* [in] */,
281 uint8_t *_buffer /* [out] [ref,size_is(buf_size)] */,
282 uint32_t _buf_size /* [in] [range(0,1024)] */,
283 uint32_t *_bytes_needed /* [out] [ref] */);
284 NTSTATUS rpccli_eventlog_GetLogInformation_recv(struct tevent_req *req,
285 TALLOC_CTX *mem_ctx,
286 NTSTATUS *result);
287 NTSTATUS rpccli_eventlog_GetLogInformation(struct rpc_pipe_client *cli,
288 TALLOC_CTX *mem_ctx,
289 struct policy_handle *handle /* [in] [ref] */,
290 uint32_t level /* [in] */,
291 uint8_t *buffer /* [out] [ref,size_is(buf_size)] */,
292 uint32_t buf_size /* [in] [range(0,1024)] */,
293 uint32_t *bytes_needed /* [out] [ref] */);
294 struct tevent_req *rpccli_eventlog_FlushEventLog_send(TALLOC_CTX *mem_ctx,
295 struct tevent_context *ev,
296 struct rpc_pipe_client *cli,
297 struct policy_handle *_handle /* [in] [ref] */);
298 NTSTATUS rpccli_eventlog_FlushEventLog_recv(struct tevent_req *req,
299 TALLOC_CTX *mem_ctx,
300 NTSTATUS *result);
301 NTSTATUS rpccli_eventlog_FlushEventLog(struct rpc_pipe_client *cli,
302 TALLOC_CTX *mem_ctx,
303 struct policy_handle *handle /* [in] [ref] */);
304 struct tevent_req *rpccli_eventlog_ReportEventAndSourceW_send(TALLOC_CTX *mem_ctx,
305 struct tevent_context *ev,
306 struct rpc_pipe_client *cli,
307 struct policy_handle *_handle /* [in] [ref] */,
308 time_t _timestamp /* [in] */,
309 enum eventlogEventTypes _event_type /* [in] */,
310 uint16_t _event_category /* [in] */,
311 uint32_t _event_id /* [in] */,
312 struct lsa_String *_sourcename /* [in] [ref] */,
313 uint16_t _num_of_strings /* [in] [range(0,256)] */,
314 uint32_t _data_size /* [in] [range(0,0x3FFFF)] */,
315 struct lsa_String *_servername /* [in] [ref] */,
316 struct dom_sid *_user_sid /* [in] [unique] */,
317 struct lsa_String **_strings /* [in] [unique,size_is(num_of_strings)] */,
318 uint8_t *_data /* [in] [unique,size_is(data_size)] */,
319 uint16_t _flags /* [in] */,
320 uint32_t *_record_number /* [in,out] [unique] */,
321 time_t *_time_written /* [in,out] [unique] */);
322 NTSTATUS rpccli_eventlog_ReportEventAndSourceW_recv(struct tevent_req *req,
323 TALLOC_CTX *mem_ctx,
324 NTSTATUS *result);
325 NTSTATUS rpccli_eventlog_ReportEventAndSourceW(struct rpc_pipe_client *cli,
326 TALLOC_CTX *mem_ctx,
327 struct policy_handle *handle /* [in] [ref] */,
328 time_t timestamp /* [in] */,
329 enum eventlogEventTypes event_type /* [in] */,
330 uint16_t event_category /* [in] */,
331 uint32_t event_id /* [in] */,
332 struct lsa_String *sourcename /* [in] [ref] */,
333 uint16_t num_of_strings /* [in] [range(0,256)] */,
334 uint32_t data_size /* [in] [range(0,0x3FFFF)] */,
335 struct lsa_String *servername /* [in] [ref] */,
336 struct dom_sid *user_sid /* [in] [unique] */,
337 struct lsa_String **strings /* [in] [unique,size_is(num_of_strings)] */,
338 uint8_t *data /* [in] [unique,size_is(data_size)] */,
339 uint16_t flags /* [in] */,
340 uint32_t *record_number /* [in,out] [unique] */,
341 time_t *time_written /* [in,out] [unique] */);
342 #endif /* __CLI_EVENTLOG__ */