1 #include "librpc/gen_ndr/ndr_eventlog.h"
2 #ifndef __CLI_EVENTLOG__
3 #define __CLI_EVENTLOG__
4 NTSTATUS rpccli_eventlog_ClearEventLogW(struct rpc_pipe_client *cli,
6 struct policy_handle *handle /* [in] [ref] */,
7 struct lsa_String *backupfile /* [in] [unique] */);
8 NTSTATUS rpccli_eventlog_BackupEventLogW(struct rpc_pipe_client *cli,
10 NTSTATUS rpccli_eventlog_CloseEventLog(struct rpc_pipe_client *cli,
12 struct policy_handle *handle /* [in,out] [ref] */);
13 NTSTATUS rpccli_eventlog_DeregisterEventSource(struct rpc_pipe_client *cli,
15 NTSTATUS rpccli_eventlog_GetNumRecords(struct rpc_pipe_client *cli,
17 struct policy_handle *handle /* [in] [ref] */,
18 uint32_t *number /* [out] [ref] */);
19 NTSTATUS rpccli_eventlog_GetOldestRecord(struct rpc_pipe_client *cli,
21 struct policy_handle *handle /* [in] [ref] */,
22 uint32_t *oldest_entry /* [out] [ref] */);
23 NTSTATUS rpccli_eventlog_ChangeNotify(struct rpc_pipe_client *cli,
25 NTSTATUS rpccli_eventlog_OpenEventLogW(struct rpc_pipe_client *cli,
27 struct eventlog_OpenUnknown0 *unknown0 /* [in] [unique] */,
28 struct lsa_String *logname /* [in] [ref] */,
29 struct lsa_String *servername /* [in] [ref] */,
30 uint32_t major_version /* [in] */,
31 uint32_t minor_version /* [in] */,
32 struct policy_handle *handle /* [out] [ref] */);
33 NTSTATUS rpccli_eventlog_RegisterEventSourceW(struct rpc_pipe_client *cli,
35 NTSTATUS rpccli_eventlog_OpenBackupEventLogW(struct rpc_pipe_client *cli,
37 NTSTATUS rpccli_eventlog_ReadEventLogW(struct rpc_pipe_client *cli,
39 struct policy_handle *handle /* [in] [ref] */,
40 uint32_t flags /* [in] */,
41 uint32_t offset /* [in] */,
42 uint32_t number_of_bytes /* [in] [range(0,0x7FFFF)] */,
43 uint8_t *data /* [out] [ref,size_is(number_of_bytes)] */,
44 uint32_t *sent_size /* [out] [ref] */,
45 uint32_t *real_size /* [out] [ref] */);
46 NTSTATUS rpccli_eventlog_ReportEventW(struct rpc_pipe_client *cli,
48 NTSTATUS rpccli_eventlog_ClearEventLogA(struct rpc_pipe_client *cli,
50 NTSTATUS rpccli_eventlog_BackupEventLogA(struct rpc_pipe_client *cli,
52 NTSTATUS rpccli_eventlog_OpenEventLogA(struct rpc_pipe_client *cli,
54 NTSTATUS rpccli_eventlog_RegisterEventSourceA(struct rpc_pipe_client *cli,
56 NTSTATUS rpccli_eventlog_OpenBackupEventLogA(struct rpc_pipe_client *cli,
58 NTSTATUS rpccli_eventlog_ReadEventLogA(struct rpc_pipe_client *cli,
60 NTSTATUS rpccli_eventlog_ReportEventA(struct rpc_pipe_client *cli,
62 NTSTATUS rpccli_eventlog_RegisterClusterSvc(struct rpc_pipe_client *cli,
64 NTSTATUS rpccli_eventlog_DeregisterClusterSvc(struct rpc_pipe_client *cli,
66 NTSTATUS rpccli_eventlog_WriteClusterEvents(struct rpc_pipe_client *cli,
68 NTSTATUS rpccli_eventlog_GetLogIntormation(struct rpc_pipe_client *cli,
70 NTSTATUS rpccli_eventlog_FlushEventLog(struct rpc_pipe_client *cli,
72 struct policy_handle *handle /* [in] [ref] */);
73 #endif /* __CLI_EVENTLOG__ */