diff options
Diffstat (limited to 'librpc/gen_ndr/cli_eventlog.c')
-rw-r--r-- | librpc/gen_ndr/cli_eventlog.c | 400 |
1 files changed, 0 insertions, 400 deletions
diff --git a/librpc/gen_ndr/cli_eventlog.c b/librpc/gen_ndr/cli_eventlog.c index a53ca13eb4..9e2c6bea66 100644 --- a/librpc/gen_ndr/cli_eventlog.c +++ b/librpc/gen_ndr/cli_eventlog.c @@ -42,10 +42,6 @@ struct tevent_req *rpccli_eventlog_ClearEventLogW_send(TALLOC_CTX *mem_ctx, /* 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; @@ -90,10 +86,6 @@ static void rpccli_eventlog_ClearEventLogW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ClearEventLogW, &state->orig); - } - tevent_req_done(req); } @@ -132,10 +124,6 @@ NTSTATUS rpccli_eventlog_ClearEventLogW(struct rpc_pipe_client *cli, 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, @@ -146,10 +134,6 @@ NTSTATUS rpccli_eventlog_ClearEventLogW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ClearEventLogW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -196,10 +180,6 @@ struct tevent_req *rpccli_eventlog_BackupEventLogW_send(TALLOC_CTX *mem_ctx, /* 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; @@ -244,10 +224,6 @@ static void rpccli_eventlog_BackupEventLogW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_BackupEventLogW, &state->orig); - } - tevent_req_done(req); } @@ -286,10 +262,6 @@ NTSTATUS rpccli_eventlog_BackupEventLogW(struct rpc_pipe_client *cli, 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, @@ -300,10 +272,6 @@ NTSTATUS rpccli_eventlog_BackupEventLogW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_BackupEventLogW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -349,10 +317,6 @@ struct tevent_req *rpccli_eventlog_CloseEventLog_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -404,10 +368,6 @@ static void rpccli_eventlog_CloseEventLog_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_CloseEventLog, &state->orig); - } - tevent_req_done(req); } @@ -444,10 +404,6 @@ NTSTATUS rpccli_eventlog_CloseEventLog(struct rpc_pipe_client *cli, /* 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, @@ -458,10 +414,6 @@ NTSTATUS rpccli_eventlog_CloseEventLog(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_CloseEventLog, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -508,10 +460,6 @@ struct tevent_req *rpccli_eventlog_DeregisterEventSource_send(TALLOC_CTX *mem_ct /* 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)) { @@ -563,10 +511,6 @@ static void rpccli_eventlog_DeregisterEventSource_done(struct tevent_req *subreq /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_DeregisterEventSource, &state->orig); - } - tevent_req_done(req); } @@ -603,10 +547,6 @@ NTSTATUS rpccli_eventlog_DeregisterEventSource(struct rpc_pipe_client *cli, /* 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, @@ -617,10 +557,6 @@ NTSTATUS rpccli_eventlog_DeregisterEventSource(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_DeregisterEventSource, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -668,10 +604,6 @@ struct tevent_req *rpccli_eventlog_GetNumRecords_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -723,10 +655,6 @@ static void rpccli_eventlog_GetNumRecords_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_GetNumRecords, &state->orig); - } - tevent_req_done(req); } @@ -764,10 +692,6 @@ NTSTATUS rpccli_eventlog_GetNumRecords(struct rpc_pipe_client *cli, /* 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, @@ -778,10 +702,6 @@ NTSTATUS rpccli_eventlog_GetNumRecords(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_GetNumRecords, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -829,10 +749,6 @@ struct tevent_req *rpccli_eventlog_GetOldestRecord_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -884,10 +800,6 @@ static void rpccli_eventlog_GetOldestRecord_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_GetOldestRecord, &state->orig); - } - tevent_req_done(req); } @@ -925,10 +837,6 @@ NTSTATUS rpccli_eventlog_GetOldestRecord(struct rpc_pipe_client *cli, /* 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, @@ -939,10 +847,6 @@ NTSTATUS rpccli_eventlog_GetOldestRecord(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_GetOldestRecord, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -986,10 +890,6 @@ struct tevent_req *rpccli_eventlog_ChangeNotify_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1034,10 +934,6 @@ static void rpccli_eventlog_ChangeNotify_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ChangeNotify, &state->orig); - } - tevent_req_done(req); } @@ -1072,10 +968,6 @@ NTSTATUS rpccli_eventlog_ChangeNotify(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_ChangeNotify, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_eventlog, @@ -1086,10 +978,6 @@ NTSTATUS rpccli_eventlog_ChangeNotify(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ChangeNotify, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1144,10 +1032,6 @@ struct tevent_req *rpccli_eventlog_OpenEventLogW_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1199,10 +1083,6 @@ static void rpccli_eventlog_OpenEventLogW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_OpenEventLogW, &state->orig); - } - tevent_req_done(req); } @@ -1248,10 +1128,6 @@ NTSTATUS rpccli_eventlog_OpenEventLogW(struct rpc_pipe_client *cli, 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, @@ -1262,10 +1138,6 @@ NTSTATUS rpccli_eventlog_OpenEventLogW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_OpenEventLogW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1321,10 +1193,6 @@ struct tevent_req *rpccli_eventlog_RegisterEventSourceW_send(TALLOC_CTX *mem_ctx /* 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)) { @@ -1376,10 +1244,6 @@ static void rpccli_eventlog_RegisterEventSourceW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_RegisterEventSourceW, &state->orig); - } - tevent_req_done(req); } @@ -1425,10 +1289,6 @@ NTSTATUS rpccli_eventlog_RegisterEventSourceW(struct rpc_pipe_client *cli, 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, @@ -1439,10 +1299,6 @@ NTSTATUS rpccli_eventlog_RegisterEventSourceW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_RegisterEventSourceW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1496,10 +1352,6 @@ struct tevent_req *rpccli_eventlog_OpenBackupEventLogW_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1551,10 +1403,6 @@ static void rpccli_eventlog_OpenBackupEventLogW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_OpenBackupEventLogW, &state->orig); - } - tevent_req_done(req); } @@ -1598,10 +1446,6 @@ NTSTATUS rpccli_eventlog_OpenBackupEventLogW(struct rpc_pipe_client *cli, 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, @@ -1612,10 +1456,6 @@ NTSTATUS rpccli_eventlog_OpenBackupEventLogW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_OpenBackupEventLogW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1673,10 +1513,6 @@ struct tevent_req *rpccli_eventlog_ReadEventLogW_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1730,10 +1566,6 @@ static void rpccli_eventlog_ReadEventLogW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ReadEventLogW, &state->orig); - } - tevent_req_done(req); } @@ -1779,10 +1611,6 @@ NTSTATUS rpccli_eventlog_ReadEventLogW(struct rpc_pipe_client *cli, 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, @@ -1793,10 +1621,6 @@ NTSTATUS rpccli_eventlog_ReadEventLogW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ReadEventLogW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1872,10 +1696,6 @@ struct tevent_req *rpccli_eventlog_ReportEventW_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1932,10 +1752,6 @@ static void rpccli_eventlog_ReportEventW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ReportEventW, &state->orig); - } - tevent_req_done(req); } @@ -1998,10 +1814,6 @@ NTSTATUS rpccli_eventlog_ReportEventW(struct rpc_pipe_client *cli, 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, @@ -2012,10 +1824,6 @@ NTSTATUS rpccli_eventlog_ReportEventW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ReportEventW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2064,10 +1872,6 @@ struct tevent_req *rpccli_eventlog_ClearEventLogA_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2112,10 +1916,6 @@ static void rpccli_eventlog_ClearEventLogA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ClearEventLogA, &state->orig); - } - tevent_req_done(req); } @@ -2150,10 +1950,6 @@ NTSTATUS rpccli_eventlog_ClearEventLogA(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_ClearEventLogA, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_eventlog, @@ -2164,10 +1960,6 @@ NTSTATUS rpccli_eventlog_ClearEventLogA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ClearEventLogA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2210,10 +2002,6 @@ struct tevent_req *rpccli_eventlog_BackupEventLogA_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2258,10 +2046,6 @@ static void rpccli_eventlog_BackupEventLogA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_BackupEventLogA, &state->orig); - } - tevent_req_done(req); } @@ -2296,10 +2080,6 @@ NTSTATUS rpccli_eventlog_BackupEventLogA(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_BackupEventLogA, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_eventlog, @@ -2310,10 +2090,6 @@ NTSTATUS rpccli_eventlog_BackupEventLogA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_BackupEventLogA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2356,10 +2132,6 @@ struct tevent_req *rpccli_eventlog_OpenEventLogA_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2404,10 +2176,6 @@ static void rpccli_eventlog_OpenEventLogA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_OpenEventLogA, &state->orig); - } - tevent_req_done(req); } @@ -2442,10 +2210,6 @@ NTSTATUS rpccli_eventlog_OpenEventLogA(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_OpenEventLogA, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_eventlog, @@ -2456,10 +2220,6 @@ NTSTATUS rpccli_eventlog_OpenEventLogA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_OpenEventLogA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2502,10 +2262,6 @@ struct tevent_req *rpccli_eventlog_RegisterEventSourceA_send(TALLOC_CTX *mem_ctx /* 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; @@ -2550,10 +2306,6 @@ static void rpccli_eventlog_RegisterEventSourceA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_RegisterEventSourceA, &state->orig); - } - tevent_req_done(req); } @@ -2588,10 +2340,6 @@ NTSTATUS rpccli_eventlog_RegisterEventSourceA(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_RegisterEventSourceA, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_eventlog, @@ -2602,10 +2350,6 @@ NTSTATUS rpccli_eventlog_RegisterEventSourceA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_RegisterEventSourceA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2648,10 +2392,6 @@ struct tevent_req *rpccli_eventlog_OpenBackupEventLogA_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2696,10 +2436,6 @@ static void rpccli_eventlog_OpenBackupEventLogA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_OpenBackupEventLogA, &state->orig); - } - tevent_req_done(req); } @@ -2734,10 +2470,6 @@ NTSTATUS rpccli_eventlog_OpenBackupEventLogA(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_OpenBackupEventLogA, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_eventlog, @@ -2748,10 +2480,6 @@ NTSTATUS rpccli_eventlog_OpenBackupEventLogA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_OpenBackupEventLogA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2794,10 +2522,6 @@ struct tevent_req *rpccli_eventlog_ReadEventLogA_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2842,10 +2566,6 @@ static void rpccli_eventlog_ReadEventLogA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ReadEventLogA, &state->orig); - } - tevent_req_done(req); } @@ -2880,10 +2600,6 @@ NTSTATUS rpccli_eventlog_ReadEventLogA(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_ReadEventLogA, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_eventlog, @@ -2894,10 +2610,6 @@ NTSTATUS rpccli_eventlog_ReadEventLogA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ReadEventLogA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2940,10 +2652,6 @@ struct tevent_req *rpccli_eventlog_ReportEventA_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2988,10 +2696,6 @@ static void rpccli_eventlog_ReportEventA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ReportEventA, &state->orig); - } - tevent_req_done(req); } @@ -3026,10 +2730,6 @@ NTSTATUS rpccli_eventlog_ReportEventA(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_ReportEventA, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_eventlog, @@ -3040,10 +2740,6 @@ NTSTATUS rpccli_eventlog_ReportEventA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ReportEventA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3086,10 +2782,6 @@ struct tevent_req *rpccli_eventlog_RegisterClusterSvc_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3134,10 +2826,6 @@ static void rpccli_eventlog_RegisterClusterSvc_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_RegisterClusterSvc, &state->orig); - } - tevent_req_done(req); } @@ -3172,10 +2860,6 @@ NTSTATUS rpccli_eventlog_RegisterClusterSvc(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_RegisterClusterSvc, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_eventlog, @@ -3186,10 +2870,6 @@ NTSTATUS rpccli_eventlog_RegisterClusterSvc(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_RegisterClusterSvc, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3232,10 +2912,6 @@ struct tevent_req *rpccli_eventlog_DeregisterClusterSvc_send(TALLOC_CTX *mem_ctx /* 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; @@ -3280,10 +2956,6 @@ static void rpccli_eventlog_DeregisterClusterSvc_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_DeregisterClusterSvc, &state->orig); - } - tevent_req_done(req); } @@ -3318,10 +2990,6 @@ NTSTATUS rpccli_eventlog_DeregisterClusterSvc(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_DeregisterClusterSvc, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_eventlog, @@ -3332,10 +3000,6 @@ NTSTATUS rpccli_eventlog_DeregisterClusterSvc(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_DeregisterClusterSvc, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3378,10 +3042,6 @@ struct tevent_req *rpccli_eventlog_WriteClusterEvents_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3426,10 +3086,6 @@ static void rpccli_eventlog_WriteClusterEvents_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_WriteClusterEvents, &state->orig); - } - tevent_req_done(req); } @@ -3464,10 +3120,6 @@ NTSTATUS rpccli_eventlog_WriteClusterEvents(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_WriteClusterEvents, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_eventlog, @@ -3478,10 +3130,6 @@ NTSTATUS rpccli_eventlog_WriteClusterEvents(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_WriteClusterEvents, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3534,10 +3182,6 @@ struct tevent_req *rpccli_eventlog_GetLogInformation_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3590,10 +3234,6 @@ static void rpccli_eventlog_GetLogInformation_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_GetLogInformation, &state->orig); - } - tevent_req_done(req); } @@ -3636,10 +3276,6 @@ NTSTATUS rpccli_eventlog_GetLogInformation(struct rpc_pipe_client *cli, 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, @@ -3650,10 +3286,6 @@ NTSTATUS rpccli_eventlog_GetLogInformation(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_GetLogInformation, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3700,10 +3332,6 @@ struct tevent_req *rpccli_eventlog_FlushEventLog_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3748,10 +3376,6 @@ static void rpccli_eventlog_FlushEventLog_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_FlushEventLog, &state->orig); - } - tevent_req_done(req); } @@ -3788,10 +3412,6 @@ NTSTATUS rpccli_eventlog_FlushEventLog(struct rpc_pipe_client *cli, /* 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, @@ -3802,10 +3422,6 @@ NTSTATUS rpccli_eventlog_FlushEventLog(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_FlushEventLog, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3880,10 +3496,6 @@ struct tevent_req *rpccli_eventlog_ReportEventAndSourceW_send(TALLOC_CTX *mem_ct /* 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)) { @@ -3940,10 +3552,6 @@ static void rpccli_eventlog_ReportEventAndSourceW_done(struct tevent_req *subreq /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ReportEventAndSourceW, &state->orig); - } - tevent_req_done(req); } @@ -4008,10 +3616,6 @@ NTSTATUS rpccli_eventlog_ReportEventAndSourceW(struct rpc_pipe_client *cli, 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, @@ -4022,10 +3626,6 @@ NTSTATUS rpccli_eventlog_ReportEventAndSourceW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ReportEventAndSourceW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } |