2 * Unix SMB/CIFS implementation.
3 * server auto-generated by pidl. DO NOT MODIFY!
8 #include "bin/default/librpc/gen_ndr/srv_eventlog6.h"
10 static bool api_eventlog6_EvtRpcRegisterRemoteSubscription(struct pipes_struct *p)
12 const struct ndr_interface_call *call;
13 struct ndr_pull *pull;
14 struct ndr_push *push;
15 enum ndr_err_code ndr_err;
16 struct eventlog6_EvtRpcRegisterRemoteSubscription *r;
18 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCREGISTERREMOTESUBSCRIPTION];
20 r = talloc(talloc_tos(), struct eventlog6_EvtRpcRegisterRemoteSubscription);
25 pull = ndr_pull_init_blob(&p->in_data.data, r);
31 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
33 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
35 ndr_err = call->ndr_pull(pull, NDR_IN, r);
36 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
41 if (DEBUGLEVEL >= 10) {
42 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcRegisterRemoteSubscription, NDR_IN, r);
46 r->out.handle = talloc_zero(r, struct policy_handle);
47 if (r->out.handle == NULL) {
52 r->out.control = talloc_zero(r, struct policy_handle);
53 if (r->out.control == NULL) {
58 r->out.queryChannelInfoSize = talloc_zero(r, uint32_t);
59 if (r->out.queryChannelInfoSize == NULL) {
64 r->out.queryChannelInfo = talloc_zero(r, struct eventlog6_EvtRpcQueryChannelInfo *);
65 if (r->out.queryChannelInfo == NULL) {
70 r->out.error = talloc_zero(r, struct eventlog6_RpcInfo);
71 if (r->out.error == NULL) {
76 r->out.result = _eventlog6_EvtRpcRegisterRemoteSubscription(p, r);
80 /* Return true here, srv_pipe_hnd.c will take care */
84 if (DEBUGLEVEL >= 10) {
85 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcRegisterRemoteSubscription, NDR_OUT | NDR_SET_VALUES, r);
88 push = ndr_push_init_ctx(r);
95 * carry over the pointer count to the reply in case we are
96 * using full pointer. See NDR specification for full pointers
98 push->ptr_count = pull->ptr_count;
100 ndr_err = call->ndr_push(push, NDR_OUT, r);
101 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
106 p->out_data.rdata = ndr_push_blob(push);
107 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
114 static bool api_eventlog6_EvtRpcRemoteSubscriptionNextAsync(struct pipes_struct *p)
116 const struct ndr_interface_call *call;
117 struct ndr_pull *pull;
118 struct ndr_push *push;
119 enum ndr_err_code ndr_err;
120 struct eventlog6_EvtRpcRemoteSubscriptionNextAsync *r;
122 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCREMOTESUBSCRIPTIONNEXTASYNC];
124 r = talloc(talloc_tos(), struct eventlog6_EvtRpcRemoteSubscriptionNextAsync);
129 pull = ndr_pull_init_blob(&p->in_data.data, r);
135 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
137 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
139 ndr_err = call->ndr_pull(pull, NDR_IN, r);
140 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
145 if (DEBUGLEVEL >= 10) {
146 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcRemoteSubscriptionNextAsync, NDR_IN, r);
150 r->out.numActualRecords = talloc_zero(r, uint32_t);
151 if (r->out.numActualRecords == NULL) {
156 r->out.eventDataIndices = talloc_zero(r, uint32_t *);
157 if (r->out.eventDataIndices == NULL) {
162 r->out.eventDataSizes = talloc_zero(r, uint32_t *);
163 if (r->out.eventDataSizes == NULL) {
168 r->out.resultBufferSize = talloc_zero(r, uint32_t);
169 if (r->out.resultBufferSize == NULL) {
174 r->out.resultBuffer = talloc_zero(r, uint8_t *);
175 if (r->out.resultBuffer == NULL) {
180 r->out.result = _eventlog6_EvtRpcRemoteSubscriptionNextAsync(p, r);
182 if (p->fault_state) {
184 /* Return true here, srv_pipe_hnd.c will take care */
188 if (DEBUGLEVEL >= 10) {
189 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcRemoteSubscriptionNextAsync, NDR_OUT | NDR_SET_VALUES, r);
192 push = ndr_push_init_ctx(r);
199 * carry over the pointer count to the reply in case we are
200 * using full pointer. See NDR specification for full pointers
202 push->ptr_count = pull->ptr_count;
204 ndr_err = call->ndr_push(push, NDR_OUT, r);
205 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
210 p->out_data.rdata = ndr_push_blob(push);
211 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
218 static bool api_eventlog6_EvtRpcRemoteSubscriptionNext(struct pipes_struct *p)
220 const struct ndr_interface_call *call;
221 struct ndr_pull *pull;
222 struct ndr_push *push;
223 enum ndr_err_code ndr_err;
224 struct eventlog6_EvtRpcRemoteSubscriptionNext *r;
226 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCREMOTESUBSCRIPTIONNEXT];
228 r = talloc(talloc_tos(), struct eventlog6_EvtRpcRemoteSubscriptionNext);
233 pull = ndr_pull_init_blob(&p->in_data.data, r);
239 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
241 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
243 ndr_err = call->ndr_pull(pull, NDR_IN, r);
244 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
249 if (DEBUGLEVEL >= 10) {
250 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcRemoteSubscriptionNext, NDR_IN, r);
254 r->out.numActualRecords = talloc_zero(r, uint32_t);
255 if (r->out.numActualRecords == NULL) {
260 r->out.eventDataIndices = talloc_zero(r, uint32_t *);
261 if (r->out.eventDataIndices == NULL) {
266 r->out.eventDataSizes = talloc_zero(r, uint32_t *);
267 if (r->out.eventDataSizes == NULL) {
272 r->out.resultBufferSize = talloc_zero(r, uint32_t);
273 if (r->out.resultBufferSize == NULL) {
278 r->out.resultBuffer = talloc_zero(r, uint8_t *);
279 if (r->out.resultBuffer == NULL) {
284 r->out.result = _eventlog6_EvtRpcRemoteSubscriptionNext(p, r);
286 if (p->fault_state) {
288 /* Return true here, srv_pipe_hnd.c will take care */
292 if (DEBUGLEVEL >= 10) {
293 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcRemoteSubscriptionNext, NDR_OUT | NDR_SET_VALUES, r);
296 push = ndr_push_init_ctx(r);
303 * carry over the pointer count to the reply in case we are
304 * using full pointer. See NDR specification for full pointers
306 push->ptr_count = pull->ptr_count;
308 ndr_err = call->ndr_push(push, NDR_OUT, r);
309 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
314 p->out_data.rdata = ndr_push_blob(push);
315 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
322 static bool api_eventlog6_EvtRpcRemoteSubscriptionWaitAsync(struct pipes_struct *p)
324 const struct ndr_interface_call *call;
325 struct ndr_pull *pull;
326 struct ndr_push *push;
327 enum ndr_err_code ndr_err;
328 struct eventlog6_EvtRpcRemoteSubscriptionWaitAsync *r;
330 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCREMOTESUBSCRIPTIONWAITASYNC];
332 r = talloc(talloc_tos(), struct eventlog6_EvtRpcRemoteSubscriptionWaitAsync);
337 pull = ndr_pull_init_blob(&p->in_data.data, r);
343 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
345 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
347 ndr_err = call->ndr_pull(pull, NDR_IN, r);
348 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
353 if (DEBUGLEVEL >= 10) {
354 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcRemoteSubscriptionWaitAsync, NDR_IN, r);
357 r->out.result = _eventlog6_EvtRpcRemoteSubscriptionWaitAsync(p, r);
359 if (p->fault_state) {
361 /* Return true here, srv_pipe_hnd.c will take care */
365 if (DEBUGLEVEL >= 10) {
366 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcRemoteSubscriptionWaitAsync, NDR_OUT | NDR_SET_VALUES, r);
369 push = ndr_push_init_ctx(r);
376 * carry over the pointer count to the reply in case we are
377 * using full pointer. See NDR specification for full pointers
379 push->ptr_count = pull->ptr_count;
381 ndr_err = call->ndr_push(push, NDR_OUT, r);
382 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
387 p->out_data.rdata = ndr_push_blob(push);
388 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
395 static bool api_eventlog6_EvtRpcRegisterControllableOperation(struct pipes_struct *p)
397 const struct ndr_interface_call *call;
398 struct ndr_pull *pull;
399 struct ndr_push *push;
400 enum ndr_err_code ndr_err;
401 struct eventlog6_EvtRpcRegisterControllableOperation *r;
403 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCREGISTERCONTROLLABLEOPERATION];
405 r = talloc(talloc_tos(), struct eventlog6_EvtRpcRegisterControllableOperation);
410 pull = ndr_pull_init_blob(&p->in_data.data, r);
416 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
418 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
420 ndr_err = call->ndr_pull(pull, NDR_IN, r);
421 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
426 if (DEBUGLEVEL >= 10) {
427 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcRegisterControllableOperation, NDR_IN, r);
431 r->out.handle = talloc_zero(r, struct policy_handle);
432 if (r->out.handle == NULL) {
437 r->out.result = _eventlog6_EvtRpcRegisterControllableOperation(p, r);
439 if (p->fault_state) {
441 /* Return true here, srv_pipe_hnd.c will take care */
445 if (DEBUGLEVEL >= 10) {
446 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcRegisterControllableOperation, NDR_OUT | NDR_SET_VALUES, r);
449 push = ndr_push_init_ctx(r);
456 * carry over the pointer count to the reply in case we are
457 * using full pointer. See NDR specification for full pointers
459 push->ptr_count = pull->ptr_count;
461 ndr_err = call->ndr_push(push, NDR_OUT, r);
462 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
467 p->out_data.rdata = ndr_push_blob(push);
468 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
475 static bool api_eventlog6_EvtRpcRegisterLogQuery(struct pipes_struct *p)
477 const struct ndr_interface_call *call;
478 struct ndr_pull *pull;
479 struct ndr_push *push;
480 enum ndr_err_code ndr_err;
481 struct eventlog6_EvtRpcRegisterLogQuery *r;
483 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCREGISTERLOGQUERY];
485 r = talloc(talloc_tos(), struct eventlog6_EvtRpcRegisterLogQuery);
490 pull = ndr_pull_init_blob(&p->in_data.data, r);
496 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
498 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
500 ndr_err = call->ndr_pull(pull, NDR_IN, r);
501 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
506 if (DEBUGLEVEL >= 10) {
507 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcRegisterLogQuery, NDR_IN, r);
511 r->out.handle = talloc_zero(r, struct policy_handle);
512 if (r->out.handle == NULL) {
517 r->out.opControl = talloc_zero(r, struct policy_handle);
518 if (r->out.opControl == NULL) {
523 r->out.queryChannelInfoSize = talloc_zero(r, uint32_t);
524 if (r->out.queryChannelInfoSize == NULL) {
529 r->out.queryChannelInfo = talloc_zero(r, struct eventlog6_EvtRpcQueryChannelInfo *);
530 if (r->out.queryChannelInfo == NULL) {
535 r->out.error = talloc_zero(r, struct eventlog6_RpcInfo);
536 if (r->out.error == NULL) {
541 r->out.result = _eventlog6_EvtRpcRegisterLogQuery(p, r);
543 if (p->fault_state) {
545 /* Return true here, srv_pipe_hnd.c will take care */
549 if (DEBUGLEVEL >= 10) {
550 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcRegisterLogQuery, NDR_OUT | NDR_SET_VALUES, r);
553 push = ndr_push_init_ctx(r);
560 * carry over the pointer count to the reply in case we are
561 * using full pointer. See NDR specification for full pointers
563 push->ptr_count = pull->ptr_count;
565 ndr_err = call->ndr_push(push, NDR_OUT, r);
566 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
571 p->out_data.rdata = ndr_push_blob(push);
572 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
579 static bool api_eventlog6_EvtRpcClearLog(struct pipes_struct *p)
581 const struct ndr_interface_call *call;
582 struct ndr_pull *pull;
583 struct ndr_push *push;
584 enum ndr_err_code ndr_err;
585 struct eventlog6_EvtRpcClearLog *r;
587 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCCLEARLOG];
589 r = talloc(talloc_tos(), struct eventlog6_EvtRpcClearLog);
594 pull = ndr_pull_init_blob(&p->in_data.data, r);
600 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
602 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
604 ndr_err = call->ndr_pull(pull, NDR_IN, r);
605 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
610 if (DEBUGLEVEL >= 10) {
611 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcClearLog, NDR_IN, r);
615 r->out.error = talloc_zero(r, struct eventlog6_RpcInfo);
616 if (r->out.error == NULL) {
621 r->out.result = _eventlog6_EvtRpcClearLog(p, r);
623 if (p->fault_state) {
625 /* Return true here, srv_pipe_hnd.c will take care */
629 if (DEBUGLEVEL >= 10) {
630 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcClearLog, NDR_OUT | NDR_SET_VALUES, r);
633 push = ndr_push_init_ctx(r);
640 * carry over the pointer count to the reply in case we are
641 * using full pointer. See NDR specification for full pointers
643 push->ptr_count = pull->ptr_count;
645 ndr_err = call->ndr_push(push, NDR_OUT, r);
646 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
651 p->out_data.rdata = ndr_push_blob(push);
652 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
659 static bool api_eventlog6_EvtRpcExportLog(struct pipes_struct *p)
661 const struct ndr_interface_call *call;
662 struct ndr_pull *pull;
663 struct ndr_push *push;
664 enum ndr_err_code ndr_err;
665 struct eventlog6_EvtRpcExportLog *r;
667 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCEXPORTLOG];
669 r = talloc(talloc_tos(), struct eventlog6_EvtRpcExportLog);
674 pull = ndr_pull_init_blob(&p->in_data.data, r);
680 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
682 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
684 ndr_err = call->ndr_pull(pull, NDR_IN, r);
685 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
690 if (DEBUGLEVEL >= 10) {
691 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcExportLog, NDR_IN, r);
695 r->out.error = talloc_zero(r, struct eventlog6_RpcInfo);
696 if (r->out.error == NULL) {
701 r->out.result = _eventlog6_EvtRpcExportLog(p, r);
703 if (p->fault_state) {
705 /* Return true here, srv_pipe_hnd.c will take care */
709 if (DEBUGLEVEL >= 10) {
710 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcExportLog, NDR_OUT | NDR_SET_VALUES, r);
713 push = ndr_push_init_ctx(r);
720 * carry over the pointer count to the reply in case we are
721 * using full pointer. See NDR specification for full pointers
723 push->ptr_count = pull->ptr_count;
725 ndr_err = call->ndr_push(push, NDR_OUT, r);
726 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
731 p->out_data.rdata = ndr_push_blob(push);
732 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
739 static bool api_eventlog6_EvtRpcLocalizeExportLog(struct pipes_struct *p)
741 const struct ndr_interface_call *call;
742 struct ndr_pull *pull;
743 struct ndr_push *push;
744 enum ndr_err_code ndr_err;
745 struct eventlog6_EvtRpcLocalizeExportLog *r;
747 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCLOCALIZEEXPORTLOG];
749 r = talloc(talloc_tos(), struct eventlog6_EvtRpcLocalizeExportLog);
754 pull = ndr_pull_init_blob(&p->in_data.data, r);
760 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
762 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
764 ndr_err = call->ndr_pull(pull, NDR_IN, r);
765 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
770 if (DEBUGLEVEL >= 10) {
771 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcLocalizeExportLog, NDR_IN, r);
775 r->out.error = talloc_zero(r, struct eventlog6_RpcInfo);
776 if (r->out.error == NULL) {
781 r->out.result = _eventlog6_EvtRpcLocalizeExportLog(p, r);
783 if (p->fault_state) {
785 /* Return true here, srv_pipe_hnd.c will take care */
789 if (DEBUGLEVEL >= 10) {
790 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcLocalizeExportLog, NDR_OUT | NDR_SET_VALUES, r);
793 push = ndr_push_init_ctx(r);
800 * carry over the pointer count to the reply in case we are
801 * using full pointer. See NDR specification for full pointers
803 push->ptr_count = pull->ptr_count;
805 ndr_err = call->ndr_push(push, NDR_OUT, r);
806 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
811 p->out_data.rdata = ndr_push_blob(push);
812 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
819 static bool api_eventlog6_EvtRpcMessageRender(struct pipes_struct *p)
821 const struct ndr_interface_call *call;
822 struct ndr_pull *pull;
823 struct ndr_push *push;
824 enum ndr_err_code ndr_err;
825 struct eventlog6_EvtRpcMessageRender *r;
827 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCMESSAGERENDER];
829 r = talloc(talloc_tos(), struct eventlog6_EvtRpcMessageRender);
834 pull = ndr_pull_init_blob(&p->in_data.data, r);
840 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
842 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
844 ndr_err = call->ndr_pull(pull, NDR_IN, r);
845 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
850 if (DEBUGLEVEL >= 10) {
851 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcMessageRender, NDR_IN, r);
855 r->out.actualSizeString = talloc_zero(r, uint32_t);
856 if (r->out.actualSizeString == NULL) {
861 r->out.neededSizeString = talloc_zero(r, uint32_t);
862 if (r->out.neededSizeString == NULL) {
867 r->out.string = talloc_zero(r, uint8_t *);
868 if (r->out.string == NULL) {
873 r->out.error = talloc_zero(r, struct eventlog6_RpcInfo);
874 if (r->out.error == NULL) {
879 r->out.result = _eventlog6_EvtRpcMessageRender(p, r);
881 if (p->fault_state) {
883 /* Return true here, srv_pipe_hnd.c will take care */
887 if (DEBUGLEVEL >= 10) {
888 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcMessageRender, NDR_OUT | NDR_SET_VALUES, r);
891 push = ndr_push_init_ctx(r);
898 * carry over the pointer count to the reply in case we are
899 * using full pointer. See NDR specification for full pointers
901 push->ptr_count = pull->ptr_count;
903 ndr_err = call->ndr_push(push, NDR_OUT, r);
904 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
909 p->out_data.rdata = ndr_push_blob(push);
910 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
917 static bool api_eventlog6_EvtRpcMessageRenderDefault(struct pipes_struct *p)
919 const struct ndr_interface_call *call;
920 struct ndr_pull *pull;
921 struct ndr_push *push;
922 enum ndr_err_code ndr_err;
923 struct eventlog6_EvtRpcMessageRenderDefault *r;
925 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCMESSAGERENDERDEFAULT];
927 r = talloc(talloc_tos(), struct eventlog6_EvtRpcMessageRenderDefault);
932 pull = ndr_pull_init_blob(&p->in_data.data, r);
938 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
940 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
942 ndr_err = call->ndr_pull(pull, NDR_IN, r);
943 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
948 if (DEBUGLEVEL >= 10) {
949 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcMessageRenderDefault, NDR_IN, r);
953 r->out.actualSizeString = talloc_zero(r, uint32_t);
954 if (r->out.actualSizeString == NULL) {
959 r->out.neededSizeString = talloc_zero(r, uint32_t);
960 if (r->out.neededSizeString == NULL) {
965 r->out.string = talloc_zero(r, uint8_t *);
966 if (r->out.string == NULL) {
971 r->out.error = talloc_zero(r, struct eventlog6_RpcInfo);
972 if (r->out.error == NULL) {
977 r->out.result = _eventlog6_EvtRpcMessageRenderDefault(p, r);
979 if (p->fault_state) {
981 /* Return true here, srv_pipe_hnd.c will take care */
985 if (DEBUGLEVEL >= 10) {
986 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcMessageRenderDefault, NDR_OUT | NDR_SET_VALUES, r);
989 push = ndr_push_init_ctx(r);
996 * carry over the pointer count to the reply in case we are
997 * using full pointer. See NDR specification for full pointers
999 push->ptr_count = pull->ptr_count;
1001 ndr_err = call->ndr_push(push, NDR_OUT, r);
1002 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1007 p->out_data.rdata = ndr_push_blob(push);
1008 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
1015 static bool api_eventlog6_EvtRpcQueryNext(struct pipes_struct *p)
1017 const struct ndr_interface_call *call;
1018 struct ndr_pull *pull;
1019 struct ndr_push *push;
1020 enum ndr_err_code ndr_err;
1021 struct eventlog6_EvtRpcQueryNext *r;
1023 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCQUERYNEXT];
1025 r = talloc(talloc_tos(), struct eventlog6_EvtRpcQueryNext);
1030 pull = ndr_pull_init_blob(&p->in_data.data, r);
1036 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
1038 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
1040 ndr_err = call->ndr_pull(pull, NDR_IN, r);
1041 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1046 if (DEBUGLEVEL >= 10) {
1047 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcQueryNext, NDR_IN, r);
1050 ZERO_STRUCT(r->out);
1051 r->out.numActualRecords = talloc_zero(r, uint32_t);
1052 if (r->out.numActualRecords == NULL) {
1057 r->out.eventDataIndices = talloc_zero(r, uint32_t *);
1058 if (r->out.eventDataIndices == NULL) {
1063 r->out.eventDataSizes = talloc_zero(r, uint32_t *);
1064 if (r->out.eventDataSizes == NULL) {
1069 r->out.resultBufferSize = talloc_zero(r, uint32_t);
1070 if (r->out.resultBufferSize == NULL) {
1075 r->out.resultBuffer = talloc_zero(r, uint8_t *);
1076 if (r->out.resultBuffer == NULL) {
1081 r->out.result = _eventlog6_EvtRpcQueryNext(p, r);
1083 if (p->fault_state) {
1085 /* Return true here, srv_pipe_hnd.c will take care */
1089 if (DEBUGLEVEL >= 10) {
1090 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcQueryNext, NDR_OUT | NDR_SET_VALUES, r);
1093 push = ndr_push_init_ctx(r);
1100 * carry over the pointer count to the reply in case we are
1101 * using full pointer. See NDR specification for full pointers
1103 push->ptr_count = pull->ptr_count;
1105 ndr_err = call->ndr_push(push, NDR_OUT, r);
1106 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1111 p->out_data.rdata = ndr_push_blob(push);
1112 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
1119 static bool api_eventlog6_EvtRpcQuerySeek(struct pipes_struct *p)
1121 const struct ndr_interface_call *call;
1122 struct ndr_pull *pull;
1123 struct ndr_push *push;
1124 enum ndr_err_code ndr_err;
1125 struct eventlog6_EvtRpcQuerySeek *r;
1127 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCQUERYSEEK];
1129 r = talloc(talloc_tos(), struct eventlog6_EvtRpcQuerySeek);
1134 pull = ndr_pull_init_blob(&p->in_data.data, r);
1140 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
1142 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
1144 ndr_err = call->ndr_pull(pull, NDR_IN, r);
1145 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1150 if (DEBUGLEVEL >= 10) {
1151 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcQuerySeek, NDR_IN, r);
1154 ZERO_STRUCT(r->out);
1155 r->out.error = talloc_zero(r, struct eventlog6_RpcInfo);
1156 if (r->out.error == NULL) {
1161 r->out.result = _eventlog6_EvtRpcQuerySeek(p, r);
1163 if (p->fault_state) {
1165 /* Return true here, srv_pipe_hnd.c will take care */
1169 if (DEBUGLEVEL >= 10) {
1170 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcQuerySeek, NDR_OUT | NDR_SET_VALUES, r);
1173 push = ndr_push_init_ctx(r);
1180 * carry over the pointer count to the reply in case we are
1181 * using full pointer. See NDR specification for full pointers
1183 push->ptr_count = pull->ptr_count;
1185 ndr_err = call->ndr_push(push, NDR_OUT, r);
1186 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1191 p->out_data.rdata = ndr_push_blob(push);
1192 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
1199 static bool api_eventlog6_EvtRpcClose(struct pipes_struct *p)
1201 const struct ndr_interface_call *call;
1202 struct ndr_pull *pull;
1203 struct ndr_push *push;
1204 enum ndr_err_code ndr_err;
1205 struct eventlog6_EvtRpcClose *r;
1207 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCCLOSE];
1209 r = talloc(talloc_tos(), struct eventlog6_EvtRpcClose);
1214 pull = ndr_pull_init_blob(&p->in_data.data, r);
1220 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
1222 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
1224 ndr_err = call->ndr_pull(pull, NDR_IN, r);
1225 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1230 if (DEBUGLEVEL >= 10) {
1231 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcClose, NDR_IN, r);
1234 ZERO_STRUCT(r->out);
1235 r->out.handle = r->in.handle;
1236 r->out.result = _eventlog6_EvtRpcClose(p, r);
1238 if (p->fault_state) {
1240 /* Return true here, srv_pipe_hnd.c will take care */
1244 if (DEBUGLEVEL >= 10) {
1245 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcClose, NDR_OUT | NDR_SET_VALUES, r);
1248 push = ndr_push_init_ctx(r);
1255 * carry over the pointer count to the reply in case we are
1256 * using full pointer. See NDR specification for full pointers
1258 push->ptr_count = pull->ptr_count;
1260 ndr_err = call->ndr_push(push, NDR_OUT, r);
1261 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1266 p->out_data.rdata = ndr_push_blob(push);
1267 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
1274 static bool api_eventlog6_EvtRpcCancel(struct pipes_struct *p)
1276 const struct ndr_interface_call *call;
1277 struct ndr_pull *pull;
1278 struct ndr_push *push;
1279 enum ndr_err_code ndr_err;
1280 struct eventlog6_EvtRpcCancel *r;
1282 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCCANCEL];
1284 r = talloc(talloc_tos(), struct eventlog6_EvtRpcCancel);
1289 pull = ndr_pull_init_blob(&p->in_data.data, r);
1295 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
1297 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
1299 ndr_err = call->ndr_pull(pull, NDR_IN, r);
1300 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1305 if (DEBUGLEVEL >= 10) {
1306 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcCancel, NDR_IN, r);
1309 r->out.result = _eventlog6_EvtRpcCancel(p, r);
1311 if (p->fault_state) {
1313 /* Return true here, srv_pipe_hnd.c will take care */
1317 if (DEBUGLEVEL >= 10) {
1318 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcCancel, NDR_OUT | NDR_SET_VALUES, r);
1321 push = ndr_push_init_ctx(r);
1328 * carry over the pointer count to the reply in case we are
1329 * using full pointer. See NDR specification for full pointers
1331 push->ptr_count = pull->ptr_count;
1333 ndr_err = call->ndr_push(push, NDR_OUT, r);
1334 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1339 p->out_data.rdata = ndr_push_blob(push);
1340 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
1347 static bool api_eventlog6_EvtRpcAssertConfig(struct pipes_struct *p)
1349 const struct ndr_interface_call *call;
1350 struct ndr_pull *pull;
1351 struct ndr_push *push;
1352 enum ndr_err_code ndr_err;
1353 struct eventlog6_EvtRpcAssertConfig *r;
1355 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCASSERTCONFIG];
1357 r = talloc(talloc_tos(), struct eventlog6_EvtRpcAssertConfig);
1362 pull = ndr_pull_init_blob(&p->in_data.data, r);
1368 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
1370 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
1372 ndr_err = call->ndr_pull(pull, NDR_IN, r);
1373 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1378 if (DEBUGLEVEL >= 10) {
1379 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcAssertConfig, NDR_IN, r);
1382 r->out.result = _eventlog6_EvtRpcAssertConfig(p, r);
1384 if (p->fault_state) {
1386 /* Return true here, srv_pipe_hnd.c will take care */
1390 if (DEBUGLEVEL >= 10) {
1391 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcAssertConfig, NDR_OUT | NDR_SET_VALUES, r);
1394 push = ndr_push_init_ctx(r);
1401 * carry over the pointer count to the reply in case we are
1402 * using full pointer. See NDR specification for full pointers
1404 push->ptr_count = pull->ptr_count;
1406 ndr_err = call->ndr_push(push, NDR_OUT, r);
1407 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1412 p->out_data.rdata = ndr_push_blob(push);
1413 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
1420 static bool api_eventlog6_EvtRpcRetractConfig(struct pipes_struct *p)
1422 const struct ndr_interface_call *call;
1423 struct ndr_pull *pull;
1424 struct ndr_push *push;
1425 enum ndr_err_code ndr_err;
1426 struct eventlog6_EvtRpcRetractConfig *r;
1428 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCRETRACTCONFIG];
1430 r = talloc(talloc_tos(), struct eventlog6_EvtRpcRetractConfig);
1435 pull = ndr_pull_init_blob(&p->in_data.data, r);
1441 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
1443 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
1445 ndr_err = call->ndr_pull(pull, NDR_IN, r);
1446 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1451 if (DEBUGLEVEL >= 10) {
1452 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcRetractConfig, NDR_IN, r);
1455 r->out.result = _eventlog6_EvtRpcRetractConfig(p, r);
1457 if (p->fault_state) {
1459 /* Return true here, srv_pipe_hnd.c will take care */
1463 if (DEBUGLEVEL >= 10) {
1464 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcRetractConfig, NDR_OUT | NDR_SET_VALUES, r);
1467 push = ndr_push_init_ctx(r);
1474 * carry over the pointer count to the reply in case we are
1475 * using full pointer. See NDR specification for full pointers
1477 push->ptr_count = pull->ptr_count;
1479 ndr_err = call->ndr_push(push, NDR_OUT, r);
1480 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1485 p->out_data.rdata = ndr_push_blob(push);
1486 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
1493 static bool api_eventlog6_EvtRpcOpenLogHandle(struct pipes_struct *p)
1495 const struct ndr_interface_call *call;
1496 struct ndr_pull *pull;
1497 struct ndr_push *push;
1498 enum ndr_err_code ndr_err;
1499 struct eventlog6_EvtRpcOpenLogHandle *r;
1501 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCOPENLOGHANDLE];
1503 r = talloc(talloc_tos(), struct eventlog6_EvtRpcOpenLogHandle);
1508 pull = ndr_pull_init_blob(&p->in_data.data, r);
1514 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
1516 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
1518 ndr_err = call->ndr_pull(pull, NDR_IN, r);
1519 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1524 if (DEBUGLEVEL >= 10) {
1525 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcOpenLogHandle, NDR_IN, r);
1528 ZERO_STRUCT(r->out);
1529 r->out.handle = talloc_zero(r, struct policy_handle);
1530 if (r->out.handle == NULL) {
1535 r->out.error = talloc_zero(r, struct eventlog6_RpcInfo);
1536 if (r->out.error == NULL) {
1541 r->out.result = _eventlog6_EvtRpcOpenLogHandle(p, r);
1543 if (p->fault_state) {
1545 /* Return true here, srv_pipe_hnd.c will take care */
1549 if (DEBUGLEVEL >= 10) {
1550 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcOpenLogHandle, NDR_OUT | NDR_SET_VALUES, r);
1553 push = ndr_push_init_ctx(r);
1560 * carry over the pointer count to the reply in case we are
1561 * using full pointer. See NDR specification for full pointers
1563 push->ptr_count = pull->ptr_count;
1565 ndr_err = call->ndr_push(push, NDR_OUT, r);
1566 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1571 p->out_data.rdata = ndr_push_blob(push);
1572 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
1579 static bool api_eventlog6_EvtRpcGetLogFileInfo(struct pipes_struct *p)
1581 const struct ndr_interface_call *call;
1582 struct ndr_pull *pull;
1583 struct ndr_push *push;
1584 enum ndr_err_code ndr_err;
1585 struct eventlog6_EvtRpcGetLogFileInfo *r;
1587 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCGETLOGFILEINFO];
1589 r = talloc(talloc_tos(), struct eventlog6_EvtRpcGetLogFileInfo);
1594 pull = ndr_pull_init_blob(&p->in_data.data, r);
1600 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
1602 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
1604 ndr_err = call->ndr_pull(pull, NDR_IN, r);
1605 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1610 if (DEBUGLEVEL >= 10) {
1611 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcGetLogFileInfo, NDR_IN, r);
1614 ZERO_STRUCT(r->out);
1615 r->out.propertyValueBuffer = talloc_zero_array(r, uint8_t, r->in.propertyValueBufferSize);
1616 if (r->out.propertyValueBuffer == NULL) {
1621 r->out.propertyValueBufferLength = talloc_zero(r, uint32_t);
1622 if (r->out.propertyValueBufferLength == NULL) {
1627 r->out.result = _eventlog6_EvtRpcGetLogFileInfo(p, r);
1629 if (p->fault_state) {
1631 /* Return true here, srv_pipe_hnd.c will take care */
1635 if (DEBUGLEVEL >= 10) {
1636 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcGetLogFileInfo, NDR_OUT | NDR_SET_VALUES, r);
1639 push = ndr_push_init_ctx(r);
1646 * carry over the pointer count to the reply in case we are
1647 * using full pointer. See NDR specification for full pointers
1649 push->ptr_count = pull->ptr_count;
1651 ndr_err = call->ndr_push(push, NDR_OUT, r);
1652 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1657 p->out_data.rdata = ndr_push_blob(push);
1658 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
1665 static bool api_eventlog6_EvtRpcGetChannelList(struct pipes_struct *p)
1667 const struct ndr_interface_call *call;
1668 struct ndr_pull *pull;
1669 struct ndr_push *push;
1670 enum ndr_err_code ndr_err;
1671 struct eventlog6_EvtRpcGetChannelList *r;
1673 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCGETCHANNELLIST];
1675 r = talloc(talloc_tos(), struct eventlog6_EvtRpcGetChannelList);
1680 pull = ndr_pull_init_blob(&p->in_data.data, r);
1686 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
1688 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
1690 ndr_err = call->ndr_pull(pull, NDR_IN, r);
1691 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1696 if (DEBUGLEVEL >= 10) {
1697 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcGetChannelList, NDR_IN, r);
1700 ZERO_STRUCT(r->out);
1701 r->out.numChannelPaths = talloc_zero(r, uint32_t);
1702 if (r->out.numChannelPaths == NULL) {
1707 r->out.channelPaths = talloc_zero(r, const char **);
1708 if (r->out.channelPaths == NULL) {
1713 r->out.result = _eventlog6_EvtRpcGetChannelList(p, r);
1715 if (p->fault_state) {
1717 /* Return true here, srv_pipe_hnd.c will take care */
1721 if (DEBUGLEVEL >= 10) {
1722 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcGetChannelList, NDR_OUT | NDR_SET_VALUES, r);
1725 push = ndr_push_init_ctx(r);
1732 * carry over the pointer count to the reply in case we are
1733 * using full pointer. See NDR specification for full pointers
1735 push->ptr_count = pull->ptr_count;
1737 ndr_err = call->ndr_push(push, NDR_OUT, r);
1738 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1743 p->out_data.rdata = ndr_push_blob(push);
1744 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
1751 static bool api_eventlog6_EvtRpcGetChannelConfig(struct pipes_struct *p)
1753 const struct ndr_interface_call *call;
1754 struct ndr_pull *pull;
1755 struct ndr_push *push;
1756 enum ndr_err_code ndr_err;
1757 struct eventlog6_EvtRpcGetChannelConfig *r;
1759 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCGETCHANNELCONFIG];
1761 r = talloc(talloc_tos(), struct eventlog6_EvtRpcGetChannelConfig);
1766 pull = ndr_pull_init_blob(&p->in_data.data, r);
1772 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
1774 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
1776 ndr_err = call->ndr_pull(pull, NDR_IN, r);
1777 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1782 if (DEBUGLEVEL >= 10) {
1783 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcGetChannelConfig, NDR_IN, r);
1786 ZERO_STRUCT(r->out);
1787 r->out.props = talloc_zero(r, struct eventlog6_EvtRpcVariantList);
1788 if (r->out.props == NULL) {
1793 r->out.result = _eventlog6_EvtRpcGetChannelConfig(p, r);
1795 if (p->fault_state) {
1797 /* Return true here, srv_pipe_hnd.c will take care */
1801 if (DEBUGLEVEL >= 10) {
1802 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcGetChannelConfig, NDR_OUT | NDR_SET_VALUES, r);
1805 push = ndr_push_init_ctx(r);
1812 * carry over the pointer count to the reply in case we are
1813 * using full pointer. See NDR specification for full pointers
1815 push->ptr_count = pull->ptr_count;
1817 ndr_err = call->ndr_push(push, NDR_OUT, r);
1818 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1823 p->out_data.rdata = ndr_push_blob(push);
1824 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
1831 static bool api_eventlog6_EvtRpcPutChannelConfig(struct pipes_struct *p)
1833 const struct ndr_interface_call *call;
1834 struct ndr_pull *pull;
1835 struct ndr_push *push;
1836 enum ndr_err_code ndr_err;
1837 struct eventlog6_EvtRpcPutChannelConfig *r;
1839 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCPUTCHANNELCONFIG];
1841 r = talloc(talloc_tos(), struct eventlog6_EvtRpcPutChannelConfig);
1846 pull = ndr_pull_init_blob(&p->in_data.data, r);
1852 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
1854 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
1856 ndr_err = call->ndr_pull(pull, NDR_IN, r);
1857 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1862 if (DEBUGLEVEL >= 10) {
1863 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcPutChannelConfig, NDR_IN, r);
1866 ZERO_STRUCT(r->out);
1867 r->out.error = talloc_zero(r, struct eventlog6_RpcInfo);
1868 if (r->out.error == NULL) {
1873 r->out.result = _eventlog6_EvtRpcPutChannelConfig(p, r);
1875 if (p->fault_state) {
1877 /* Return true here, srv_pipe_hnd.c will take care */
1881 if (DEBUGLEVEL >= 10) {
1882 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcPutChannelConfig, NDR_OUT | NDR_SET_VALUES, r);
1885 push = ndr_push_init_ctx(r);
1892 * carry over the pointer count to the reply in case we are
1893 * using full pointer. See NDR specification for full pointers
1895 push->ptr_count = pull->ptr_count;
1897 ndr_err = call->ndr_push(push, NDR_OUT, r);
1898 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1903 p->out_data.rdata = ndr_push_blob(push);
1904 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
1911 static bool api_eventlog6_EvtRpcGetPublisherList(struct pipes_struct *p)
1913 const struct ndr_interface_call *call;
1914 struct ndr_pull *pull;
1915 struct ndr_push *push;
1916 enum ndr_err_code ndr_err;
1917 struct eventlog6_EvtRpcGetPublisherList *r;
1919 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCGETPUBLISHERLIST];
1921 r = talloc(talloc_tos(), struct eventlog6_EvtRpcGetPublisherList);
1926 pull = ndr_pull_init_blob(&p->in_data.data, r);
1932 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
1934 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
1936 ndr_err = call->ndr_pull(pull, NDR_IN, r);
1937 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1942 if (DEBUGLEVEL >= 10) {
1943 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcGetPublisherList, NDR_IN, r);
1946 ZERO_STRUCT(r->out);
1947 r->out.numPublisherIds = talloc_zero(r, uint32_t);
1948 if (r->out.numPublisherIds == NULL) {
1953 r->out.publisherIds = talloc_zero(r, const char **);
1954 if (r->out.publisherIds == NULL) {
1959 r->out.result = _eventlog6_EvtRpcGetPublisherList(p, r);
1961 if (p->fault_state) {
1963 /* Return true here, srv_pipe_hnd.c will take care */
1967 if (DEBUGLEVEL >= 10) {
1968 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcGetPublisherList, NDR_OUT | NDR_SET_VALUES, r);
1971 push = ndr_push_init_ctx(r);
1978 * carry over the pointer count to the reply in case we are
1979 * using full pointer. See NDR specification for full pointers
1981 push->ptr_count = pull->ptr_count;
1983 ndr_err = call->ndr_push(push, NDR_OUT, r);
1984 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
1989 p->out_data.rdata = ndr_push_blob(push);
1990 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
1997 static bool api_eventlog6_EvtRpcGetPublisherListForChannel(struct pipes_struct *p)
1999 const struct ndr_interface_call *call;
2000 struct ndr_pull *pull;
2001 struct ndr_push *push;
2002 enum ndr_err_code ndr_err;
2003 struct eventlog6_EvtRpcGetPublisherListForChannel *r;
2005 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCGETPUBLISHERLISTFORCHANNEL];
2007 r = talloc(talloc_tos(), struct eventlog6_EvtRpcGetPublisherListForChannel);
2012 pull = ndr_pull_init_blob(&p->in_data.data, r);
2018 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
2020 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
2022 ndr_err = call->ndr_pull(pull, NDR_IN, r);
2023 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
2028 if (DEBUGLEVEL >= 10) {
2029 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcGetPublisherListForChannel, NDR_IN, r);
2032 ZERO_STRUCT(r->out);
2033 r->out.numPublisherIds = talloc_zero(r, uint32_t);
2034 if (r->out.numPublisherIds == NULL) {
2039 r->out.publisherIds = talloc_zero(r, const char **);
2040 if (r->out.publisherIds == NULL) {
2045 r->out.result = _eventlog6_EvtRpcGetPublisherListForChannel(p, r);
2047 if (p->fault_state) {
2049 /* Return true here, srv_pipe_hnd.c will take care */
2053 if (DEBUGLEVEL >= 10) {
2054 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcGetPublisherListForChannel, NDR_OUT | NDR_SET_VALUES, r);
2057 push = ndr_push_init_ctx(r);
2064 * carry over the pointer count to the reply in case we are
2065 * using full pointer. See NDR specification for full pointers
2067 push->ptr_count = pull->ptr_count;
2069 ndr_err = call->ndr_push(push, NDR_OUT, r);
2070 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
2075 p->out_data.rdata = ndr_push_blob(push);
2076 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
2083 static bool api_eventlog6_EvtRpcGetPublisherMetadata(struct pipes_struct *p)
2085 const struct ndr_interface_call *call;
2086 struct ndr_pull *pull;
2087 struct ndr_push *push;
2088 enum ndr_err_code ndr_err;
2089 struct eventlog6_EvtRpcGetPublisherMetadata *r;
2091 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCGETPUBLISHERMETADATA];
2093 r = talloc(talloc_tos(), struct eventlog6_EvtRpcGetPublisherMetadata);
2098 pull = ndr_pull_init_blob(&p->in_data.data, r);
2104 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
2106 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
2108 ndr_err = call->ndr_pull(pull, NDR_IN, r);
2109 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
2114 if (DEBUGLEVEL >= 10) {
2115 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcGetPublisherMetadata, NDR_IN, r);
2118 ZERO_STRUCT(r->out);
2119 r->out.pubMetadataProps = talloc_zero(r, struct eventlog6_EvtRpcVariantList);
2120 if (r->out.pubMetadataProps == NULL) {
2125 r->out.pubMetadata = talloc_zero(r, struct policy_handle);
2126 if (r->out.pubMetadata == NULL) {
2131 r->out.result = _eventlog6_EvtRpcGetPublisherMetadata(p, r);
2133 if (p->fault_state) {
2135 /* Return true here, srv_pipe_hnd.c will take care */
2139 if (DEBUGLEVEL >= 10) {
2140 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcGetPublisherMetadata, NDR_OUT | NDR_SET_VALUES, r);
2143 push = ndr_push_init_ctx(r);
2150 * carry over the pointer count to the reply in case we are
2151 * using full pointer. See NDR specification for full pointers
2153 push->ptr_count = pull->ptr_count;
2155 ndr_err = call->ndr_push(push, NDR_OUT, r);
2156 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
2161 p->out_data.rdata = ndr_push_blob(push);
2162 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
2169 static bool api_eventlog6_EvtRpcGetPublisherResourceMetadata(struct pipes_struct *p)
2171 const struct ndr_interface_call *call;
2172 struct ndr_pull *pull;
2173 struct ndr_push *push;
2174 enum ndr_err_code ndr_err;
2175 struct eventlog6_EvtRpcGetPublisherResourceMetadata *r;
2177 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCGETPUBLISHERRESOURCEMETADATA];
2179 r = talloc(talloc_tos(), struct eventlog6_EvtRpcGetPublisherResourceMetadata);
2184 pull = ndr_pull_init_blob(&p->in_data.data, r);
2190 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
2192 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
2194 ndr_err = call->ndr_pull(pull, NDR_IN, r);
2195 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
2200 if (DEBUGLEVEL >= 10) {
2201 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcGetPublisherResourceMetadata, NDR_IN, r);
2204 ZERO_STRUCT(r->out);
2205 r->out.pubMetadataProps = talloc_zero(r, struct eventlog6_EvtRpcVariantList);
2206 if (r->out.pubMetadataProps == NULL) {
2211 r->out.result = _eventlog6_EvtRpcGetPublisherResourceMetadata(p, r);
2213 if (p->fault_state) {
2215 /* Return true here, srv_pipe_hnd.c will take care */
2219 if (DEBUGLEVEL >= 10) {
2220 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcGetPublisherResourceMetadata, NDR_OUT | NDR_SET_VALUES, r);
2223 push = ndr_push_init_ctx(r);
2230 * carry over the pointer count to the reply in case we are
2231 * using full pointer. See NDR specification for full pointers
2233 push->ptr_count = pull->ptr_count;
2235 ndr_err = call->ndr_push(push, NDR_OUT, r);
2236 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
2241 p->out_data.rdata = ndr_push_blob(push);
2242 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
2249 static bool api_eventlog6_EvtRpcGetEventMetadataEnum(struct pipes_struct *p)
2251 const struct ndr_interface_call *call;
2252 struct ndr_pull *pull;
2253 struct ndr_push *push;
2254 enum ndr_err_code ndr_err;
2255 struct eventlog6_EvtRpcGetEventMetadataEnum *r;
2257 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCGETEVENTMETADATAENUM];
2259 r = talloc(talloc_tos(), struct eventlog6_EvtRpcGetEventMetadataEnum);
2264 pull = ndr_pull_init_blob(&p->in_data.data, r);
2270 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
2272 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
2274 ndr_err = call->ndr_pull(pull, NDR_IN, r);
2275 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
2280 if (DEBUGLEVEL >= 10) {
2281 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcGetEventMetadataEnum, NDR_IN, r);
2284 ZERO_STRUCT(r->out);
2285 r->out.eventMetaDataEnum = talloc_zero(r, struct policy_handle);
2286 if (r->out.eventMetaDataEnum == NULL) {
2291 r->out.result = _eventlog6_EvtRpcGetEventMetadataEnum(p, r);
2293 if (p->fault_state) {
2295 /* Return true here, srv_pipe_hnd.c will take care */
2299 if (DEBUGLEVEL >= 10) {
2300 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcGetEventMetadataEnum, NDR_OUT | NDR_SET_VALUES, r);
2303 push = ndr_push_init_ctx(r);
2310 * carry over the pointer count to the reply in case we are
2311 * using full pointer. See NDR specification for full pointers
2313 push->ptr_count = pull->ptr_count;
2315 ndr_err = call->ndr_push(push, NDR_OUT, r);
2316 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
2321 p->out_data.rdata = ndr_push_blob(push);
2322 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
2329 static bool api_eventlog6_EvtRpcGetNextEventMetadata(struct pipes_struct *p)
2331 const struct ndr_interface_call *call;
2332 struct ndr_pull *pull;
2333 struct ndr_push *push;
2334 enum ndr_err_code ndr_err;
2335 struct eventlog6_EvtRpcGetNextEventMetadata *r;
2337 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCGETNEXTEVENTMETADATA];
2339 r = talloc(talloc_tos(), struct eventlog6_EvtRpcGetNextEventMetadata);
2344 pull = ndr_pull_init_blob(&p->in_data.data, r);
2350 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
2352 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
2354 ndr_err = call->ndr_pull(pull, NDR_IN, r);
2355 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
2360 if (DEBUGLEVEL >= 10) {
2361 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcGetNextEventMetadata, NDR_IN, r);
2364 ZERO_STRUCT(r->out);
2365 r->out.numReturned = talloc_zero(r, uint32_t);
2366 if (r->out.numReturned == NULL) {
2371 r->out.eventMetadataInstances = talloc_zero(r, struct eventlog6_EvtRpcVariantList *);
2372 if (r->out.eventMetadataInstances == NULL) {
2377 r->out.result = _eventlog6_EvtRpcGetNextEventMetadata(p, r);
2379 if (p->fault_state) {
2381 /* Return true here, srv_pipe_hnd.c will take care */
2385 if (DEBUGLEVEL >= 10) {
2386 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcGetNextEventMetadata, NDR_OUT | NDR_SET_VALUES, r);
2389 push = ndr_push_init_ctx(r);
2396 * carry over the pointer count to the reply in case we are
2397 * using full pointer. See NDR specification for full pointers
2399 push->ptr_count = pull->ptr_count;
2401 ndr_err = call->ndr_push(push, NDR_OUT, r);
2402 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
2407 p->out_data.rdata = ndr_push_blob(push);
2408 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
2415 static bool api_eventlog6_EvtRpcGetClassicLogDisplayName(struct pipes_struct *p)
2417 const struct ndr_interface_call *call;
2418 struct ndr_pull *pull;
2419 struct ndr_push *push;
2420 enum ndr_err_code ndr_err;
2421 struct eventlog6_EvtRpcGetClassicLogDisplayName *r;
2423 call = &ndr_table_eventlog6.calls[NDR_EVENTLOG6_EVTRPCGETCLASSICLOGDISPLAYNAME];
2425 r = talloc(talloc_tos(), struct eventlog6_EvtRpcGetClassicLogDisplayName);
2430 pull = ndr_pull_init_blob(&p->in_data.data, r);
2436 pull->flags |= LIBNDR_FLAG_REF_ALLOC;
2438 pull->flags |= LIBNDR_FLAG_BIGENDIAN;
2440 ndr_err = call->ndr_pull(pull, NDR_IN, r);
2441 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
2446 if (DEBUGLEVEL >= 10) {
2447 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcGetClassicLogDisplayName, NDR_IN, r);
2450 ZERO_STRUCT(r->out);
2451 r->out.displayName = talloc_zero(r, uint16_t *);
2452 if (r->out.displayName == NULL) {
2457 r->out.result = _eventlog6_EvtRpcGetClassicLogDisplayName(p, r);
2459 if (p->fault_state) {
2461 /* Return true here, srv_pipe_hnd.c will take care */
2465 if (DEBUGLEVEL >= 10) {
2466 NDR_PRINT_FUNCTION_DEBUG(eventlog6_EvtRpcGetClassicLogDisplayName, NDR_OUT | NDR_SET_VALUES, r);
2469 push = ndr_push_init_ctx(r);
2476 * carry over the pointer count to the reply in case we are
2477 * using full pointer. See NDR specification for full pointers
2479 push->ptr_count = pull->ptr_count;
2481 ndr_err = call->ndr_push(push, NDR_OUT, r);
2482 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
2487 p->out_data.rdata = ndr_push_blob(push);
2488 talloc_steal(p->mem_ctx, p->out_data.rdata.data);
2497 static struct api_struct api_eventlog6_cmds[] =
2499 {"EVENTLOG6_EVTRPCREGISTERREMOTESUBSCRIPTION", NDR_EVENTLOG6_EVTRPCREGISTERREMOTESUBSCRIPTION, api_eventlog6_EvtRpcRegisterRemoteSubscription},
2500 {"EVENTLOG6_EVTRPCREMOTESUBSCRIPTIONNEXTASYNC", NDR_EVENTLOG6_EVTRPCREMOTESUBSCRIPTIONNEXTASYNC, api_eventlog6_EvtRpcRemoteSubscriptionNextAsync},
2501 {"EVENTLOG6_EVTRPCREMOTESUBSCRIPTIONNEXT", NDR_EVENTLOG6_EVTRPCREMOTESUBSCRIPTIONNEXT, api_eventlog6_EvtRpcRemoteSubscriptionNext},
2502 {"EVENTLOG6_EVTRPCREMOTESUBSCRIPTIONWAITASYNC", NDR_EVENTLOG6_EVTRPCREMOTESUBSCRIPTIONWAITASYNC, api_eventlog6_EvtRpcRemoteSubscriptionWaitAsync},
2503 {"EVENTLOG6_EVTRPCREGISTERCONTROLLABLEOPERATION", NDR_EVENTLOG6_EVTRPCREGISTERCONTROLLABLEOPERATION, api_eventlog6_EvtRpcRegisterControllableOperation},
2504 {"EVENTLOG6_EVTRPCREGISTERLOGQUERY", NDR_EVENTLOG6_EVTRPCREGISTERLOGQUERY, api_eventlog6_EvtRpcRegisterLogQuery},
2505 {"EVENTLOG6_EVTRPCCLEARLOG", NDR_EVENTLOG6_EVTRPCCLEARLOG, api_eventlog6_EvtRpcClearLog},
2506 {"EVENTLOG6_EVTRPCEXPORTLOG", NDR_EVENTLOG6_EVTRPCEXPORTLOG, api_eventlog6_EvtRpcExportLog},
2507 {"EVENTLOG6_EVTRPCLOCALIZEEXPORTLOG", NDR_EVENTLOG6_EVTRPCLOCALIZEEXPORTLOG, api_eventlog6_EvtRpcLocalizeExportLog},
2508 {"EVENTLOG6_EVTRPCMESSAGERENDER", NDR_EVENTLOG6_EVTRPCMESSAGERENDER, api_eventlog6_EvtRpcMessageRender},
2509 {"EVENTLOG6_EVTRPCMESSAGERENDERDEFAULT", NDR_EVENTLOG6_EVTRPCMESSAGERENDERDEFAULT, api_eventlog6_EvtRpcMessageRenderDefault},
2510 {"EVENTLOG6_EVTRPCQUERYNEXT", NDR_EVENTLOG6_EVTRPCQUERYNEXT, api_eventlog6_EvtRpcQueryNext},
2511 {"EVENTLOG6_EVTRPCQUERYSEEK", NDR_EVENTLOG6_EVTRPCQUERYSEEK, api_eventlog6_EvtRpcQuerySeek},
2512 {"EVENTLOG6_EVTRPCCLOSE", NDR_EVENTLOG6_EVTRPCCLOSE, api_eventlog6_EvtRpcClose},
2513 {"EVENTLOG6_EVTRPCCANCEL", NDR_EVENTLOG6_EVTRPCCANCEL, api_eventlog6_EvtRpcCancel},
2514 {"EVENTLOG6_EVTRPCASSERTCONFIG", NDR_EVENTLOG6_EVTRPCASSERTCONFIG, api_eventlog6_EvtRpcAssertConfig},
2515 {"EVENTLOG6_EVTRPCRETRACTCONFIG", NDR_EVENTLOG6_EVTRPCRETRACTCONFIG, api_eventlog6_EvtRpcRetractConfig},
2516 {"EVENTLOG6_EVTRPCOPENLOGHANDLE", NDR_EVENTLOG6_EVTRPCOPENLOGHANDLE, api_eventlog6_EvtRpcOpenLogHandle},
2517 {"EVENTLOG6_EVTRPCGETLOGFILEINFO", NDR_EVENTLOG6_EVTRPCGETLOGFILEINFO, api_eventlog6_EvtRpcGetLogFileInfo},
2518 {"EVENTLOG6_EVTRPCGETCHANNELLIST", NDR_EVENTLOG6_EVTRPCGETCHANNELLIST, api_eventlog6_EvtRpcGetChannelList},
2519 {"EVENTLOG6_EVTRPCGETCHANNELCONFIG", NDR_EVENTLOG6_EVTRPCGETCHANNELCONFIG, api_eventlog6_EvtRpcGetChannelConfig},
2520 {"EVENTLOG6_EVTRPCPUTCHANNELCONFIG", NDR_EVENTLOG6_EVTRPCPUTCHANNELCONFIG, api_eventlog6_EvtRpcPutChannelConfig},
2521 {"EVENTLOG6_EVTRPCGETPUBLISHERLIST", NDR_EVENTLOG6_EVTRPCGETPUBLISHERLIST, api_eventlog6_EvtRpcGetPublisherList},
2522 {"EVENTLOG6_EVTRPCGETPUBLISHERLISTFORCHANNEL", NDR_EVENTLOG6_EVTRPCGETPUBLISHERLISTFORCHANNEL, api_eventlog6_EvtRpcGetPublisherListForChannel},
2523 {"EVENTLOG6_EVTRPCGETPUBLISHERMETADATA", NDR_EVENTLOG6_EVTRPCGETPUBLISHERMETADATA, api_eventlog6_EvtRpcGetPublisherMetadata},
2524 {"EVENTLOG6_EVTRPCGETPUBLISHERRESOURCEMETADATA", NDR_EVENTLOG6_EVTRPCGETPUBLISHERRESOURCEMETADATA, api_eventlog6_EvtRpcGetPublisherResourceMetadata},
2525 {"EVENTLOG6_EVTRPCGETEVENTMETADATAENUM", NDR_EVENTLOG6_EVTRPCGETEVENTMETADATAENUM, api_eventlog6_EvtRpcGetEventMetadataEnum},
2526 {"EVENTLOG6_EVTRPCGETNEXTEVENTMETADATA", NDR_EVENTLOG6_EVTRPCGETNEXTEVENTMETADATA, api_eventlog6_EvtRpcGetNextEventMetadata},
2527 {"EVENTLOG6_EVTRPCGETCLASSICLOGDISPLAYNAME", NDR_EVENTLOG6_EVTRPCGETCLASSICLOGDISPLAYNAME, api_eventlog6_EvtRpcGetClassicLogDisplayName},
2530 void eventlog6_get_pipe_fns(struct api_struct **fns, int *n_fns)
2532 *fns = api_eventlog6_cmds;
2533 *n_fns = sizeof(api_eventlog6_cmds) / sizeof(struct api_struct);
2536 NTSTATUS rpc_eventlog6_init(const struct rpc_srv_callbacks *rpc_srv_cb)
2538 return rpc_srv_register(SMB_RPC_INTERFACE_VERSION, "eventlog6", "eventlog6", &ndr_table_eventlog6, api_eventlog6_cmds, sizeof(api_eventlog6_cmds) / sizeof(struct api_struct), rpc_srv_cb);
2541 NTSTATUS rpc_eventlog6_shutdown(void)
2543 return rpc_srv_unregister(&ndr_table_eventlog6);