1 /* header auto-generated by pidl */
5 #include "librpc/gen_ndr/lsa.h"
6 #include "librpc/gen_ndr/security.h"
7 #ifndef _HEADER_eventlog
8 #define _HEADER_eventlog
10 /* bitmap eventlogReadFlags */
11 #define EVENTLOG_SEQUENTIAL_READ ( 0x0001 )
12 #define EVENTLOG_SEEK_READ ( 0x0002 )
13 #define EVENTLOG_FORWARDS_READ ( 0x0004 )
14 #define EVENTLOG_BACKWARDS_READ ( 0x0008 )
16 /* bitmap eventlogEventTypes */
17 #define EVENTLOG_SUCCESS ( 0x0000 )
18 #define EVENTLOG_ERROR_TYPE ( 0x0001 )
19 #define EVENTLOG_WARNING_TYPE ( 0x0002 )
20 #define EVENTLOG_INFORMATION_TYPE ( 0x0004 )
21 #define EVENTLOG_AUDIT_SUCCESS ( 0x0008 )
22 #define EVENTLOG_AUDIT_FAILURE ( 0x0010 )
24 struct eventlog_OpenUnknown0
{
29 struct eventlog_Record
{
32 uint32_t record_number
;
33 uint32_t time_generated
;
34 uint32_t time_written
;
37 uint16_t num_of_strings
;
38 uint16_t event_category
;
39 uint16_t reserved_flags
;
40 uint32_t closing_record_number
;
41 uint32_t stringoffset
;
46 const char * source_name
;/* [flag(LIBNDR_FLAG_STR_NULLTERM)] */
47 const char * computer_name
;/* [flag(LIBNDR_FLAG_STR_NULLTERM)] */
48 const char * *strings
;/* [flag(LIBNDR_FLAG_STR_NULLTERM)] */
49 const char * raw_data
;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
53 struct eventlog_ClearEventLogW
{
55 struct policy_handle
*handle
;/* [ref] */
56 struct lsa_String
*backupfile
;/* [unique] */
66 struct eventlog_BackupEventLogW
{
74 struct eventlog_CloseEventLog
{
76 struct policy_handle
*handle
;/* [ref] */
80 struct policy_handle
*handle
;/* [ref] */
87 struct eventlog_DeregisterEventSource
{
95 struct eventlog_GetNumRecords
{
97 struct policy_handle
*handle
;/* [ref] */
101 uint32_t *number
;/* [ref] */
108 struct eventlog_GetOldestRecord
{
110 struct policy_handle
*handle
;/* [ref] */
114 uint32_t *oldest_entry
;/* [ref] */
121 struct eventlog_ChangeNotify
{
129 struct eventlog_OpenEventLogW
{
131 struct eventlog_OpenUnknown0
*unknown0
;/* [unique] */
132 struct lsa_String
*logname
;/* [ref] */
133 struct lsa_String
*servername
;/* [ref] */
134 uint32_t major_version
;
135 uint32_t minor_version
;
139 struct policy_handle
*handle
;/* [ref] */
146 struct eventlog_RegisterEventSourceW
{
154 struct eventlog_OpenBackupEventLogW
{
162 struct eventlog_ReadEventLogW
{
164 struct policy_handle
*handle
;/* [ref] */
167 uint32_t number_of_bytes
;/* [range(0,0x7FFFF)] */
171 uint8_t *data
;/* [ref,size_is(number_of_bytes)] */
172 uint32_t *sent_size
;/* [ref] */
173 uint32_t *real_size
;/* [ref] */
180 struct eventlog_ReportEventW
{
188 struct eventlog_ClearEventLogA
{
196 struct eventlog_BackupEventLogA
{
204 struct eventlog_OpenEventLogA
{
212 struct eventlog_RegisterEventSourceA
{
220 struct eventlog_OpenBackupEventLogA
{
228 struct eventlog_ReadEventLogA
{
236 struct eventlog_ReportEventA
{
244 struct eventlog_RegisterClusterSvc
{
252 struct eventlog_DeregisterClusterSvc
{
260 struct eventlog_WriteClusterEvents
{
268 struct eventlog_GetLogIntormation
{
276 struct eventlog_FlushEventLog
{
278 struct policy_handle
*handle
;/* [ref] */
287 #endif /* _HEADER_eventlog */