summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_eventlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpcclient/cmd_eventlog.c')
-rw-r--r--source3/rpcclient/cmd_eventlog.c40
1 files changed, 32 insertions, 8 deletions
diff --git a/source3/rpcclient/cmd_eventlog.c b/source3/rpcclient/cmd_eventlog.c
index d839bf4263..94e5bfd1f8 100644
--- a/source3/rpcclient/cmd_eventlog.c
+++ b/source3/rpcclient/cmd_eventlog.c
@@ -491,13 +491,37 @@ static NTSTATUS cmd_eventlog_loginfo(struct rpc_pipe_client *cli,
struct cmd_set eventlog_commands[] = {
{ "EVENTLOG" },
- { "eventlog_readlog", RPC_RTYPE_NTSTATUS, cmd_eventlog_readlog, NULL, &ndr_table_eventlog.syntax_id, NULL, "Read Eventlog", "" },
- { "eventlog_numrecord", RPC_RTYPE_NTSTATUS, cmd_eventlog_numrecords, NULL, &ndr_table_eventlog.syntax_id, NULL, "Get number of records", "" },
- { "eventlog_oldestrecord", RPC_RTYPE_NTSTATUS, cmd_eventlog_oldestrecord, NULL, &ndr_table_eventlog.syntax_id, NULL, "Get oldest record", "" },
- { "eventlog_reportevent", RPC_RTYPE_NTSTATUS, cmd_eventlog_reportevent, NULL, &ndr_table_eventlog.syntax_id, NULL, "Report event", "" },
- { "eventlog_reporteventsource", RPC_RTYPE_NTSTATUS, cmd_eventlog_reporteventsource, NULL, &ndr_table_eventlog.syntax_id, NULL, "Report event and source", "" },
- { "eventlog_registerevsource", RPC_RTYPE_NTSTATUS, cmd_eventlog_registerevsource, NULL, &ndr_table_eventlog.syntax_id, NULL, "Register event source", "" },
- { "eventlog_backuplog", RPC_RTYPE_NTSTATUS, cmd_eventlog_backuplog, NULL, &ndr_table_eventlog.syntax_id, NULL, "Backup Eventlog File", "" },
- { "eventlog_loginfo", RPC_RTYPE_NTSTATUS, cmd_eventlog_loginfo, NULL, &ndr_table_eventlog.syntax_id, NULL, "Get Eventlog Information", "" },
+ { "eventlog_readlog", RPC_RTYPE_NTSTATUS,
+ cmd_eventlog_readlog, NULL,
+ NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION, NULL,
+ "Read Eventlog", "" },
+ { "eventlog_numrecord", RPC_RTYPE_NTSTATUS,
+ cmd_eventlog_numrecords, NULL,
+ NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION, NULL,
+ "Get number of records", "" },
+ { "eventlog_oldestrecord", RPC_RTYPE_NTSTATUS,
+ cmd_eventlog_oldestrecord, NULL,
+ NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION, NULL,
+ "Get oldest record", "" },
+ { "eventlog_reportevent", RPC_RTYPE_NTSTATUS,
+ cmd_eventlog_reportevent, NULL,
+ NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION, NULL,
+ "Report event", "" },
+ { "eventlog_reporteventsource", RPC_RTYPE_NTSTATUS,
+ cmd_eventlog_reporteventsource, NULL,
+ NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION, NULL,
+ "Report event and source", "" },
+ { "eventlog_registerevsource", RPC_RTYPE_NTSTATUS,
+ cmd_eventlog_registerevsource, NULL,
+ NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION, NULL,
+ "Register event source", "" },
+ { "eventlog_backuplog", RPC_RTYPE_NTSTATUS,
+ cmd_eventlog_backuplog, NULL,
+ NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION, NULL,
+ "Backup Eventlog File", "" },
+ { "eventlog_loginfo", RPC_RTYPE_NTSTATUS,
+ cmd_eventlog_loginfo, NULL,
+ NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION, NULL,
+ "Get Eventlog Information", "" },
{ NULL }
};