1 /* header auto-generated by pidl */
3 #include "librpc/ndr/libndr.h"
4 #include "../librpc/gen_ndr/eventlog.h"
6 #ifndef _HEADER_NDR_eventlog
7 #define _HEADER_NDR_eventlog
9 #define NDR_EVENTLOG_UUID "82273fdc-e32a-18c3-3f78-827929dc23ea"
10 #define NDR_EVENTLOG_VERSION 0.0
11 #define NDR_EVENTLOG_NAME "eventlog"
12 #define NDR_EVENTLOG_HELPSTRING "Event Logger"
13 extern const struct ndr_interface_table ndr_table_eventlog
;
14 #define NDR_EVENTLOG_CLEAREVENTLOGW (0x00)
16 #define NDR_EVENTLOG_BACKUPEVENTLOGW (0x01)
18 #define NDR_EVENTLOG_CLOSEEVENTLOG (0x02)
20 #define NDR_EVENTLOG_DEREGISTEREVENTSOURCE (0x03)
22 #define NDR_EVENTLOG_GETNUMRECORDS (0x04)
24 #define NDR_EVENTLOG_GETOLDESTRECORD (0x05)
26 #define NDR_EVENTLOG_CHANGENOTIFY (0x06)
28 #define NDR_EVENTLOG_OPENEVENTLOGW (0x07)
30 #define NDR_EVENTLOG_REGISTEREVENTSOURCEW (0x08)
32 #define NDR_EVENTLOG_OPENBACKUPEVENTLOGW (0x09)
34 #define NDR_EVENTLOG_READEVENTLOGW (0x0a)
36 #define NDR_EVENTLOG_REPORTEVENTW (0x0b)
38 #define NDR_EVENTLOG_CLEAREVENTLOGA (0x0c)
40 #define NDR_EVENTLOG_BACKUPEVENTLOGA (0x0d)
42 #define NDR_EVENTLOG_OPENEVENTLOGA (0x0e)
44 #define NDR_EVENTLOG_REGISTEREVENTSOURCEA (0x0f)
46 #define NDR_EVENTLOG_OPENBACKUPEVENTLOGA (0x10)
48 #define NDR_EVENTLOG_READEVENTLOGA (0x11)
50 #define NDR_EVENTLOG_REPORTEVENTA (0x12)
52 #define NDR_EVENTLOG_REGISTERCLUSTERSVC (0x13)
54 #define NDR_EVENTLOG_DEREGISTERCLUSTERSVC (0x14)
56 #define NDR_EVENTLOG_WRITECLUSTEREVENTS (0x15)
58 #define NDR_EVENTLOG_GETLOGINTORMATION (0x16)
60 #define NDR_EVENTLOG_FLUSHEVENTLOG (0x17)
62 #define NDR_EVENTLOG_REPORTEVENTANDSOURCEW (0x18)
64 #define NDR_EVENTLOG_CALL_COUNT (25)
65 void ndr_print_eventlogReadFlags(struct ndr_print
*ndr
, const char *name
, uint32_t r
);
66 enum ndr_err_code
ndr_push_eventlogEventTypes(struct ndr_push
*ndr
, int ndr_flags
, enum eventlogEventTypes r
);
67 enum ndr_err_code
ndr_pull_eventlogEventTypes(struct ndr_pull
*ndr
, int ndr_flags
, enum eventlogEventTypes
*r
);
68 void ndr_print_eventlogEventTypes(struct ndr_print
*ndr
, const char *name
, enum eventlogEventTypes r
);
69 void ndr_print_eventlog_OpenUnknown0(struct ndr_print
*ndr
, const char *name
, const struct eventlog_OpenUnknown0
*r
);
70 enum ndr_err_code
ndr_push_eventlog_Record(struct ndr_push
*ndr
, int ndr_flags
, const struct eventlog_Record
*r
);
71 enum ndr_err_code
ndr_pull_eventlog_Record(struct ndr_pull
*ndr
, int ndr_flags
, struct eventlog_Record
*r
);
72 void ndr_print_eventlog_Record(struct ndr_print
*ndr
, const char *name
, const struct eventlog_Record
*r
);
73 enum ndr_err_code
ndr_push_eventlog_Record_tdb(struct ndr_push
*ndr
, int ndr_flags
, const struct eventlog_Record_tdb
*r
);
74 enum ndr_err_code
ndr_pull_eventlog_Record_tdb(struct ndr_pull
*ndr
, int ndr_flags
, struct eventlog_Record_tdb
*r
);
75 void ndr_print_eventlog_Record_tdb(struct ndr_print
*ndr
, const char *name
, const struct eventlog_Record_tdb
*r
);
76 void ndr_print_EVENTLOG_HEADER_FLAGS(struct ndr_print
*ndr
, const char *name
, enum EVENTLOG_HEADER_FLAGS r
);
77 enum ndr_err_code
ndr_push_EVENTLOGHEADER(struct ndr_push
*ndr
, int ndr_flags
, const struct EVENTLOGHEADER
*r
);
78 enum ndr_err_code
ndr_pull_EVENTLOGHEADER(struct ndr_pull
*ndr
, int ndr_flags
, struct EVENTLOGHEADER
*r
);
79 void ndr_print_EVENTLOGHEADER(struct ndr_print
*ndr
, const char *name
, const struct EVENTLOGHEADER
*r
);
80 enum ndr_err_code
ndr_push_EVENTLOGRECORD(struct ndr_push
*ndr
, int ndr_flags
, const struct EVENTLOGRECORD
*r
);
81 enum ndr_err_code
ndr_pull_EVENTLOGRECORD(struct ndr_pull
*ndr
, int ndr_flags
, struct EVENTLOGRECORD
*r
);
82 void ndr_print_EVENTLOGRECORD(struct ndr_print
*ndr
, const char *name
, const struct EVENTLOGRECORD
*r
);
83 size_t ndr_size_EVENTLOGRECORD(const struct EVENTLOGRECORD
*r
, struct smb_iconv_convenience
*ic
, int flags
);
84 enum ndr_err_code
ndr_push_EVENTLOGEOF(struct ndr_push
*ndr
, int ndr_flags
, const struct EVENTLOGEOF
*r
);
85 enum ndr_err_code
ndr_pull_EVENTLOGEOF(struct ndr_pull
*ndr
, int ndr_flags
, struct EVENTLOGEOF
*r
);
86 void ndr_print_EVENTLOGEOF(struct ndr_print
*ndr
, const char *name
, const struct EVENTLOGEOF
*r
);
87 enum ndr_err_code
ndr_push_EVENTLOG_EVT_FILE(struct ndr_push
*ndr
, int ndr_flags
, const struct EVENTLOG_EVT_FILE
*r
);
88 enum ndr_err_code
ndr_pull_EVENTLOG_EVT_FILE(struct ndr_pull
*ndr
, int ndr_flags
, struct EVENTLOG_EVT_FILE
*r
);
89 void ndr_print_EVENTLOG_EVT_FILE(struct ndr_print
*ndr
, const char *name
, const struct EVENTLOG_EVT_FILE
*r
);
90 void ndr_print_eventlog_ClearEventLogW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_ClearEventLogW
*r
);
91 void ndr_print_eventlog_BackupEventLogW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_BackupEventLogW
*r
);
92 void ndr_print_eventlog_CloseEventLog(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_CloseEventLog
*r
);
93 void ndr_print_eventlog_DeregisterEventSource(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_DeregisterEventSource
*r
);
94 void ndr_print_eventlog_GetNumRecords(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_GetNumRecords
*r
);
95 void ndr_print_eventlog_GetOldestRecord(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_GetOldestRecord
*r
);
96 void ndr_print_eventlog_ChangeNotify(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_ChangeNotify
*r
);
97 void ndr_print_eventlog_OpenEventLogW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_OpenEventLogW
*r
);
98 void ndr_print_eventlog_RegisterEventSourceW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_RegisterEventSourceW
*r
);
99 void ndr_print_eventlog_OpenBackupEventLogW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_OpenBackupEventLogW
*r
);
100 void ndr_print_eventlog_ReadEventLogW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_ReadEventLogW
*r
);
101 void ndr_print_eventlog_ReportEventW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_ReportEventW
*r
);
102 void ndr_print_eventlog_ClearEventLogA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_ClearEventLogA
*r
);
103 void ndr_print_eventlog_BackupEventLogA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_BackupEventLogA
*r
);
104 void ndr_print_eventlog_OpenEventLogA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_OpenEventLogA
*r
);
105 void ndr_print_eventlog_RegisterEventSourceA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_RegisterEventSourceA
*r
);
106 void ndr_print_eventlog_OpenBackupEventLogA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_OpenBackupEventLogA
*r
);
107 void ndr_print_eventlog_ReadEventLogA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_ReadEventLogA
*r
);
108 void ndr_print_eventlog_ReportEventA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_ReportEventA
*r
);
109 void ndr_print_eventlog_RegisterClusterSvc(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_RegisterClusterSvc
*r
);
110 void ndr_print_eventlog_DeregisterClusterSvc(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_DeregisterClusterSvc
*r
);
111 void ndr_print_eventlog_WriteClusterEvents(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_WriteClusterEvents
*r
);
112 void ndr_print_eventlog_GetLogIntormation(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_GetLogIntormation
*r
);
113 void ndr_print_eventlog_FlushEventLog(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_FlushEventLog
*r
);
114 void ndr_print_eventlog_ReportEventAndSourceW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct eventlog_ReportEventAndSourceW
*r
);
115 #endif /* _HEADER_NDR_eventlog */