root/librpc/gen_ndr/cli_eventlog.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   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                                          struct policy_handle *handle /* [in] [ref] */,
  11                                          struct lsa_String *backup_filename /* [in] [ref] */);
  12 NTSTATUS rpccli_eventlog_CloseEventLog(struct rpc_pipe_client *cli,
  13                                        TALLOC_CTX *mem_ctx,
  14                                        struct policy_handle *handle /* [in,out] [ref] */);
  15 NTSTATUS rpccli_eventlog_DeregisterEventSource(struct rpc_pipe_client *cli,
  16                                                TALLOC_CTX *mem_ctx,
  17                                                struct policy_handle *handle /* [in,out] [ref] */);
  18 NTSTATUS rpccli_eventlog_GetNumRecords(struct rpc_pipe_client *cli,
  19                                        TALLOC_CTX *mem_ctx,
  20                                        struct policy_handle *handle /* [in] [ref] */,
  21                                        uint32_t *number /* [out] [ref] */);
  22 NTSTATUS rpccli_eventlog_GetOldestRecord(struct rpc_pipe_client *cli,
  23                                          TALLOC_CTX *mem_ctx,
  24                                          struct policy_handle *handle /* [in] [ref] */,
  25                                          uint32_t *oldest_entry /* [out] [ref] */);
  26 NTSTATUS rpccli_eventlog_ChangeNotify(struct rpc_pipe_client *cli,
  27                                       TALLOC_CTX *mem_ctx);
  28 NTSTATUS rpccli_eventlog_OpenEventLogW(struct rpc_pipe_client *cli,
  29                                        TALLOC_CTX *mem_ctx,
  30                                        struct eventlog_OpenUnknown0 *unknown0 /* [in] [unique] */,
  31                                        struct lsa_String *logname /* [in] [ref] */,
  32                                        struct lsa_String *servername /* [in] [ref] */,
  33                                        uint32_t major_version /* [in]  */,
  34                                        uint32_t minor_version /* [in]  */,
  35                                        struct policy_handle *handle /* [out] [ref] */);
  36 NTSTATUS rpccli_eventlog_RegisterEventSourceW(struct rpc_pipe_client *cli,
  37                                               TALLOC_CTX *mem_ctx,
  38                                               struct eventlog_OpenUnknown0 *unknown0 /* [in] [unique] */,
  39                                               struct lsa_String *module_name /* [in] [ref] */,
  40                                               struct lsa_String *reg_module_name /* [in] [ref] */,
  41                                               uint32_t major_version /* [in]  */,
  42                                               uint32_t minor_version /* [in]  */,
  43                                               struct policy_handle *log_handle /* [out] [ref] */);
  44 NTSTATUS rpccli_eventlog_OpenBackupEventLogW(struct rpc_pipe_client *cli,
  45                                              TALLOC_CTX *mem_ctx,
  46                                              struct eventlog_OpenUnknown0 *unknown0 /* [in] [unique] */,
  47                                              struct lsa_String *backup_logname /* [in] [ref] */,
  48                                              uint32_t major_version /* [in]  */,
  49                                              uint32_t minor_version /* [in]  */,
  50                                              struct policy_handle *handle /* [out] [ref] */);
  51 NTSTATUS rpccli_eventlog_ReadEventLogW(struct rpc_pipe_client *cli,
  52                                        TALLOC_CTX *mem_ctx,
  53                                        struct policy_handle *handle /* [in] [ref] */,
  54                                        uint32_t flags /* [in]  */,
  55                                        uint32_t offset /* [in]  */,
  56                                        uint32_t number_of_bytes /* [in] [range(0,0x7FFFF)] */,
  57                                        uint8_t *data /* [out] [ref,size_is(number_of_bytes)] */,
  58                                        uint32_t *sent_size /* [out] [ref] */,
  59                                        uint32_t *real_size /* [out] [ref] */);
  60 NTSTATUS rpccli_eventlog_ReportEventW(struct rpc_pipe_client *cli,
  61                                       TALLOC_CTX *mem_ctx,
  62                                       struct policy_handle *handle /* [in] [ref] */,
  63                                       time_t timestamp /* [in]  */,
  64                                       enum eventlogEventTypes event_type /* [in]  */,
  65                                       uint16_t event_category /* [in]  */,
  66                                       uint32_t event_id /* [in]  */,
  67                                       uint16_t num_of_strings /* [in] [range(0,256)] */,
  68                                       uint32_t data_size /* [in] [range(0,0x3FFFF)] */,
  69                                       struct lsa_String *servername /* [in] [ref] */,
  70                                       struct dom_sid *user_sid /* [in] [unique] */,
  71                                       struct lsa_String **strings /* [in] [unique,size_is(num_of_strings)] */,
  72                                       uint8_t *data /* [in] [unique,size_is(data_size)] */,
  73                                       uint16_t flags /* [in]  */,
  74                                       uint32_t *record_number /* [in,out] [unique] */,
  75                                       time_t *time_written /* [in,out] [unique] */);
  76 NTSTATUS rpccli_eventlog_ClearEventLogA(struct rpc_pipe_client *cli,
  77                                         TALLOC_CTX *mem_ctx);
  78 NTSTATUS rpccli_eventlog_BackupEventLogA(struct rpc_pipe_client *cli,
  79                                          TALLOC_CTX *mem_ctx);
  80 NTSTATUS rpccli_eventlog_OpenEventLogA(struct rpc_pipe_client *cli,
  81                                        TALLOC_CTX *mem_ctx);
  82 NTSTATUS rpccli_eventlog_RegisterEventSourceA(struct rpc_pipe_client *cli,
  83                                               TALLOC_CTX *mem_ctx);
  84 NTSTATUS rpccli_eventlog_OpenBackupEventLogA(struct rpc_pipe_client *cli,
  85                                              TALLOC_CTX *mem_ctx);
  86 NTSTATUS rpccli_eventlog_ReadEventLogA(struct rpc_pipe_client *cli,
  87                                        TALLOC_CTX *mem_ctx);
  88 NTSTATUS rpccli_eventlog_ReportEventA(struct rpc_pipe_client *cli,
  89                                       TALLOC_CTX *mem_ctx);
  90 NTSTATUS rpccli_eventlog_RegisterClusterSvc(struct rpc_pipe_client *cli,
  91                                             TALLOC_CTX *mem_ctx);
  92 NTSTATUS rpccli_eventlog_DeregisterClusterSvc(struct rpc_pipe_client *cli,
  93                                               TALLOC_CTX *mem_ctx);
  94 NTSTATUS rpccli_eventlog_WriteClusterEvents(struct rpc_pipe_client *cli,
  95                                             TALLOC_CTX *mem_ctx);
  96 NTSTATUS rpccli_eventlog_GetLogInformation(struct rpc_pipe_client *cli,
  97                                            TALLOC_CTX *mem_ctx,
  98                                            struct policy_handle *handle /* [in] [ref] */,
  99                                            uint32_t level /* [in]  */,
 100                                            uint8_t *buffer /* [out] [ref,size_is(buf_size)] */,
 101                                            uint32_t buf_size /* [in] [range(0,1024)] */,
 102                                            uint32_t *bytes_needed /* [out] [ref] */);
 103 NTSTATUS rpccli_eventlog_FlushEventLog(struct rpc_pipe_client *cli,
 104                                        TALLOC_CTX *mem_ctx,
 105                                        struct policy_handle *handle /* [in] [ref] */);
 106 NTSTATUS rpccli_eventlog_ReportEventAndSourceW(struct rpc_pipe_client *cli,
 107                                                TALLOC_CTX *mem_ctx,
 108                                                struct policy_handle *handle /* [in] [ref] */,
 109                                                time_t timestamp /* [in]  */,
 110                                                enum eventlogEventTypes event_type /* [in]  */,
 111                                                uint16_t event_category /* [in]  */,
 112                                                uint32_t event_id /* [in]  */,
 113                                                struct lsa_String *sourcename /* [in] [ref] */,
 114                                                uint16_t num_of_strings /* [in] [range(0,256)] */,
 115                                                uint32_t data_size /* [in] [range(0,0x3FFFF)] */,
 116                                                struct lsa_String *servername /* [in] [ref] */,
 117                                                struct dom_sid *user_sid /* [in] [unique] */,
 118                                                struct lsa_String **strings /* [in] [unique,size_is(num_of_strings)] */,
 119                                                uint8_t *data /* [in] [unique,size_is(data_size)] */,
 120                                                uint16_t flags /* [in]  */,
 121                                                uint32_t *record_number /* [in,out] [unique] */,
 122                                                time_t *time_written /* [in,out] [unique] */);
 123 #endif /* __CLI_EVENTLOG__ */

/* [<][>][^][v][top][bottom][index][help] */