/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ClearEventLogW, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ClearEventLogW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.backupfile = backupfile;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ClearEventLogW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ClearEventLogW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_BackupEventLogW, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_BackupEventLogW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.backup_filename = backup_filename;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_BackupEventLogW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_BackupEventLogW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_CloseEventLog, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_eventlog_CloseEventLog_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_CloseEventLog, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_CloseEventLog, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_CloseEventLog, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_DeregisterEventSource, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_eventlog_DeregisterEventSource_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_DeregisterEventSource, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_DeregisterEventSource, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_DeregisterEventSource, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_GetNumRecords, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_eventlog_GetNumRecords_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_GetNumRecords, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_GetNumRecords, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_GetNumRecords, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_GetOldestRecord, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_eventlog_GetOldestRecord_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_GetOldestRecord, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_GetOldestRecord, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_GetOldestRecord, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ChangeNotify, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ChangeNotify, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ChangeNotify, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ChangeNotify, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_OpenEventLogW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_eventlog_OpenEventLogW_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_OpenEventLogW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.major_version = major_version;
r.in.minor_version = minor_version;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_OpenEventLogW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_OpenEventLogW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_RegisterEventSourceW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_eventlog_RegisterEventSourceW_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_RegisterEventSourceW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.major_version = major_version;
r.in.minor_version = minor_version;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_RegisterEventSourceW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_RegisterEventSourceW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_OpenBackupEventLogW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_eventlog_OpenBackupEventLogW_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_OpenBackupEventLogW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.major_version = major_version;
r.in.minor_version = minor_version;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_OpenBackupEventLogW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_OpenBackupEventLogW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ReadEventLogW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_eventlog_ReadEventLogW_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ReadEventLogW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.offset = offset;
r.in.number_of_bytes = number_of_bytes;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ReadEventLogW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ReadEventLogW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ReportEventW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_eventlog_ReportEventW_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ReportEventW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.record_number = record_number;
r.in.time_written = time_written;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ReportEventW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ReportEventW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ClearEventLogA, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ClearEventLogA, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ClearEventLogA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ClearEventLogA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_BackupEventLogA, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_BackupEventLogA, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_BackupEventLogA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_BackupEventLogA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_OpenEventLogA, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_OpenEventLogA, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_OpenEventLogA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_OpenEventLogA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_RegisterEventSourceA, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_RegisterEventSourceA, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_RegisterEventSourceA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_RegisterEventSourceA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_OpenBackupEventLogA, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_OpenBackupEventLogA, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_OpenBackupEventLogA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_OpenBackupEventLogA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ReadEventLogA, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ReadEventLogA, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ReadEventLogA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ReadEventLogA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ReportEventA, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ReportEventA, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ReportEventA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ReportEventA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_RegisterClusterSvc, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_RegisterClusterSvc, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_RegisterClusterSvc, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_RegisterClusterSvc, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_DeregisterClusterSvc, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_DeregisterClusterSvc, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_DeregisterClusterSvc, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_DeregisterClusterSvc, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_WriteClusterEvents, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_WriteClusterEvents, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_WriteClusterEvents, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_WriteClusterEvents, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_GetLogInformation, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_eventlog_GetLogInformation_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_GetLogInformation, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.buf_size = buf_size;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_GetLogInformation, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_GetLogInformation, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_FlushEventLog, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_FlushEventLog, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_FlushEventLog, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_FlushEventLog, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ReportEventAndSourceW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_eventlog_ReportEventAndSourceW_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ReportEventAndSourceW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.record_number = record_number;
r.in.time_written = time_written;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ReportEventAndSourceW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ReportEventAndSourceW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}