0594a06f59511be393ea3e2a22ce502a905daff6
[sfrench/samba-autobuild/.git] / librpc / gen_ndr / cli_eventlog.h
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,
5                                         TALLOC_CTX *mem_ctx,
6                                         struct policy_handle *handle /* [in] [ref] */,
7                                         struct lsa_String *backupfile /* [in] [unique] */);
8 NTSTATUS rpccli_eventlog_BackupEventLogW(struct rpc_pipe_client *cli,
9                                          TALLOC_CTX *mem_ctx);
10 NTSTATUS rpccli_eventlog_CloseEventLog(struct rpc_pipe_client *cli,
11                                        TALLOC_CTX *mem_ctx,
12                                        struct policy_handle *handle /* [in,out] [ref] */);
13 NTSTATUS rpccli_eventlog_DeregisterEventSource(struct rpc_pipe_client *cli,
14                                                TALLOC_CTX *mem_ctx);
15 NTSTATUS rpccli_eventlog_GetNumRecords(struct rpc_pipe_client *cli,
16                                        TALLOC_CTX *mem_ctx,
17                                        struct policy_handle *handle /* [in] [ref] */,
18                                        uint32_t *number /* [out] [ref] */);
19 NTSTATUS rpccli_eventlog_GetOldestRecord(struct rpc_pipe_client *cli,
20                                          TALLOC_CTX *mem_ctx,
21                                          struct policy_handle *handle /* [in] [ref] */,
22                                          uint32_t *oldest_entry /* [out] [ref] */);
23 NTSTATUS rpccli_eventlog_ChangeNotify(struct rpc_pipe_client *cli,
24                                       TALLOC_CTX *mem_ctx);
25 NTSTATUS rpccli_eventlog_OpenEventLogW(struct rpc_pipe_client *cli,
26                                        TALLOC_CTX *mem_ctx,
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,
34                                               TALLOC_CTX *mem_ctx);
35 NTSTATUS rpccli_eventlog_OpenBackupEventLogW(struct rpc_pipe_client *cli,
36                                              TALLOC_CTX *mem_ctx);
37 NTSTATUS rpccli_eventlog_ReadEventLogW(struct rpc_pipe_client *cli,
38                                        TALLOC_CTX *mem_ctx,
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,
47                                       TALLOC_CTX *mem_ctx);
48 NTSTATUS rpccli_eventlog_ClearEventLogA(struct rpc_pipe_client *cli,
49                                         TALLOC_CTX *mem_ctx);
50 NTSTATUS rpccli_eventlog_BackupEventLogA(struct rpc_pipe_client *cli,
51                                          TALLOC_CTX *mem_ctx);
52 NTSTATUS rpccli_eventlog_OpenEventLogA(struct rpc_pipe_client *cli,
53                                        TALLOC_CTX *mem_ctx);
54 NTSTATUS rpccli_eventlog_RegisterEventSourceA(struct rpc_pipe_client *cli,
55                                               TALLOC_CTX *mem_ctx);
56 NTSTATUS rpccli_eventlog_OpenBackupEventLogA(struct rpc_pipe_client *cli,
57                                              TALLOC_CTX *mem_ctx);
58 NTSTATUS rpccli_eventlog_ReadEventLogA(struct rpc_pipe_client *cli,
59                                        TALLOC_CTX *mem_ctx);
60 NTSTATUS rpccli_eventlog_ReportEventA(struct rpc_pipe_client *cli,
61                                       TALLOC_CTX *mem_ctx);
62 NTSTATUS rpccli_eventlog_RegisterClusterSvc(struct rpc_pipe_client *cli,
63                                             TALLOC_CTX *mem_ctx);
64 NTSTATUS rpccli_eventlog_DeregisterClusterSvc(struct rpc_pipe_client *cli,
65                                               TALLOC_CTX *mem_ctx);
66 NTSTATUS rpccli_eventlog_WriteClusterEvents(struct rpc_pipe_client *cli,
67                                             TALLOC_CTX *mem_ctx);
68 NTSTATUS rpccli_eventlog_GetLogIntormation(struct rpc_pipe_client *cli,
69                                            TALLOC_CTX *mem_ctx);
70 NTSTATUS rpccli_eventlog_FlushEventLog(struct rpc_pipe_client *cli,
71                                        TALLOC_CTX *mem_ctx,
72                                        struct policy_handle *handle /* [in] [ref] */);
73 #endif /* __CLI_EVENTLOG__ */