X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=librpc%2Fgen_ndr%2Fsrv_eventlog.c;fp=librpc%2Fgen_ndr%2Fsrv_eventlog.c;h=2cab792adf9b146f935d0792be71f986ca626be7;hb=3bd612527d9c25ee5a7f33fce0ba2902bb15a4d6;hp=795afc9a5ada6ac2620a83d5c73cb8c3bf76e1ed;hpb=acfa1278ae6611783f9a13e54ac78c10bc828b9f;p=ira%2Fwip.git diff --git a/librpc/gen_ndr/srv_eventlog.c b/librpc/gen_ndr/srv_eventlog.c index 795afc9a5ad..2cab792adf9 100644 --- a/librpc/gen_ndr/srv_eventlog.c +++ b/librpc/gen_ndr/srv_eventlog.c @@ -1673,18 +1673,18 @@ static bool api_eventlog_WriteClusterEvents(pipes_struct *p) return true; } -static bool api_eventlog_GetLogIntormation(pipes_struct *p) +static bool api_eventlog_GetLogInformation(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; struct ndr_push *push; enum ndr_err_code ndr_err; DATA_BLOB blob; - struct eventlog_GetLogIntormation *r; + struct eventlog_GetLogInformation *r; - call = &ndr_table_eventlog.calls[NDR_EVENTLOG_GETLOGINTORMATION]; + call = &ndr_table_eventlog.calls[NDR_EVENTLOG_GETLOGINFORMATION]; - r = talloc(talloc_tos(), struct eventlog_GetLogIntormation); + r = talloc(talloc_tos(), struct eventlog_GetLogInformation); if (r == NULL) { return false; } @@ -1708,7 +1708,7 @@ static bool api_eventlog_GetLogIntormation(pipes_struct *p) } if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_GetLogIntormation, r); + NDR_PRINT_IN_DEBUG(eventlog_GetLogInformation, r); } ZERO_STRUCT(r->out); @@ -1724,7 +1724,7 @@ static bool api_eventlog_GetLogIntormation(pipes_struct *p) return false; } - r->out.result = _eventlog_GetLogIntormation(p, r); + r->out.result = _eventlog_GetLogInformation(p, r); if (p->rng_fault_state) { talloc_free(r); @@ -1733,7 +1733,7 @@ static bool api_eventlog_GetLogIntormation(pipes_struct *p) } if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_GetLogIntormation, r); + NDR_PRINT_OUT_DEBUG(eventlog_GetLogInformation, r); } push = ndr_push_init_ctx(r, NULL); @@ -1934,7 +1934,7 @@ static struct api_struct api_eventlog_cmds[] = {"EVENTLOG_REGISTERCLUSTERSVC", NDR_EVENTLOG_REGISTERCLUSTERSVC, api_eventlog_RegisterClusterSvc}, {"EVENTLOG_DEREGISTERCLUSTERSVC", NDR_EVENTLOG_DEREGISTERCLUSTERSVC, api_eventlog_DeregisterClusterSvc}, {"EVENTLOG_WRITECLUSTEREVENTS", NDR_EVENTLOG_WRITECLUSTEREVENTS, api_eventlog_WriteClusterEvents}, - {"EVENTLOG_GETLOGINTORMATION", NDR_EVENTLOG_GETLOGINTORMATION, api_eventlog_GetLogIntormation}, + {"EVENTLOG_GETLOGINFORMATION", NDR_EVENTLOG_GETLOGINFORMATION, api_eventlog_GetLogInformation}, {"EVENTLOG_FLUSHEVENTLOG", NDR_EVENTLOG_FLUSHEVENTLOG, api_eventlog_FlushEventLog}, {"EVENTLOG_REPORTEVENTANDSOURCEW", NDR_EVENTLOG_REPORTEVENTANDSOURCEW, api_eventlog_ReportEventAndSourceW}, }; @@ -2138,8 +2138,8 @@ NTSTATUS rpc_eventlog_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, return NT_STATUS_OK; } - case NDR_EVENTLOG_GETLOGINTORMATION: { - struct eventlog_GetLogIntormation *r = (struct eventlog_GetLogIntormation *)_r; + case NDR_EVENTLOG_GETLOGINFORMATION: { + struct eventlog_GetLogInformation *r = (struct eventlog_GetLogInformation *)_r; ZERO_STRUCT(r->out); r->out.buffer = talloc_zero_array(mem_ctx, uint8_t, r->in.buf_size); if (r->out.buffer == NULL) { @@ -2151,7 +2151,7 @@ NTSTATUS rpc_eventlog_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, return NT_STATUS_NO_MEMORY; } - r->out.result = _eventlog_GetLogIntormation(cli->pipes_struct, r); + r->out.result = _eventlog_GetLogInformation(cli->pipes_struct, r); return NT_STATUS_OK; }