From 738f168eccca161f2e2814f78338af36243210cc Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 18 Sep 2006 19:46:11 +0000 Subject: r18623: starting on eventlog IDL (This used to be commit 6cb7b6226da0b3060f4850fc2cc2ca82fbdcaa8f) --- source3/librpc/gen_ndr/eventlog.h | 280 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 280 insertions(+) create mode 100644 source3/librpc/gen_ndr/eventlog.h (limited to 'source3/librpc/gen_ndr/eventlog.h') diff --git a/source3/librpc/gen_ndr/eventlog.h b/source3/librpc/gen_ndr/eventlog.h new file mode 100644 index 0000000000..eb338e905b --- /dev/null +++ b/source3/librpc/gen_ndr/eventlog.h @@ -0,0 +1,280 @@ +/* header auto-generated by pidl */ + +#ifndef _HEADER_eventlog +#define _HEADER_eventlog + +#include "librpc/gen_ndr/lsa.h" +#include "librpc/gen_ndr/security.h" +/* bitmap eventlogReadFlags */ +#define EVENTLOG_SEQUENTIAL_READ ( 0x0001 ) +#define EVENTLOG_SEEK_READ ( 0x0002 ) +#define EVENTLOG_FORWARDS_READ ( 0x0004 ) +#define EVENTLOG_BACKWARDS_READ ( 0x0008 ) + +/* bitmap eventlogEventTypes */ +#define EVENTLOG_SUCCESS ( 0x0000 ) +#define EVENTLOG_ERROR_TYPE ( 0x0001 ) +#define EVENTLOG_WARNING_TYPE ( 0x0002 ) +#define EVENTLOG_INFORMATION_TYPE ( 0x0004 ) +#define EVENTLOG_AUDIT_SUCCESS ( 0x0008 ) +#define EVENTLOG_AUDIT_FAILURE ( 0x0010 ) + +struct eventlog_OpenUnknown0 { + uint16_t unknown0;/* [keepref] */ + uint16_t unknown1;/* [keepref] */ +}; + +struct eventlog_Record { + uint32_t size;/* [keepref] */ + uint32_t reserved;/* [keepref] */ + uint32_t record_number;/* [keepref] */ + uint32_t time_generated;/* [keepref] */ + uint32_t time_written;/* [keepref] */ + uint32_t event_id;/* [keepref] */ + uint16_t event_type;/* [keepref] */ + uint16_t num_of_strings;/* [keepref] */ + uint16_t event_category;/* [keepref] */ + uint16_t reserved_flags;/* [keepref] */ + uint32_t closing_record_number;/* [keepref] */ + uint32_t stringoffset;/* [keepref] */ + uint32_t sid_length;/* [keepref] */ + uint32_t sid_offset;/* [keepref] */ + uint32_t data_length;/* [keepref] */ + uint32_t data_offset;/* [keepref] */ + const char * source_name;/* [keepref,flag(LIBNDR_FLAG_STR_NULLTERM)] */ + const char * computer_name;/* [keepref,flag(LIBNDR_FLAG_STR_NULLTERM)] */ + const char * *strings;/* [keepref,flag(LIBNDR_FLAG_STR_NULLTERM)] */ + const char * raw_data;/* [keepref,flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */ +}/* [public] */; + + +struct eventlog_ClearEventLogW { + struct { + struct policy_handle *handle;/* [keepref,ref] */ + struct lsa_String *unknown;/* [unique,keepref] */ + } in; + + struct { + NTSTATUS result; + } out; + +}; + + +struct eventlog_BackupEventLogW { + struct { + NTSTATUS result; + } out; + +}; + + +struct eventlog_CloseEventLog { + struct { + struct policy_handle *handle;/* [keepref,ref] */ + } in; + + struct { + struct policy_handle *handle;/* [keepref,ref] */ + NTSTATUS result; + } out; + +}; + + +struct eventlog_DeregisterEventSource { + struct { + NTSTATUS result; + } out; + +}; + + +struct eventlog_GetNumRecords { + struct { + struct policy_handle *handle;/* [keepref,ref] */ + } in; + + struct { + uint32_t *number;/* [keepref,ref] */ + NTSTATUS result; + } out; + +}; + + +struct eventlog_GetOldestRecord { + struct { + NTSTATUS result; + } out; + +}; + + +struct eventlog_ChangeNotify { + struct { + NTSTATUS result; + } out; + +}; + + +struct eventlog_OpenEventLogW { + struct { + struct eventlog_OpenUnknown0 *unknown0;/* [unique,keepref] */ + struct lsa_String logname;/* [keepref] */ + struct lsa_String servername;/* [keepref] */ + uint32_t unknown2;/* [keepref] */ + uint32_t unknown3;/* [keepref] */ + } in; + + struct { + struct policy_handle *handle;/* [keepref,ref] */ + NTSTATUS result; + } out; + +}; + + +struct eventlog_RegisterEventSourceW { + struct { + NTSTATUS result; + } out; + +}; + + +struct eventlog_OpenBackupEventLogW { + struct { + NTSTATUS result; + } out; + +}; + + +struct eventlog_ReadEventLogW { + struct { + struct policy_handle *handle;/* [keepref,ref] */ + uint32_t flags;/* [keepref] */ + uint32_t offset;/* [keepref] */ + uint32_t number_of_bytes;/* [keepref] */ + } in; + + struct { + uint8_t *data;/* [keepref,ref,size_is(number_of_bytes)] */ + uint32_t *sent_size;/* [keepref,ref] */ + uint32_t *real_size;/* [keepref,ref] */ + NTSTATUS result; + } out; + +}; + + +struct eventlog_ReportEventW { + struct { + NTSTATUS result; + } out; + +}; + + +struct eventlog_ClearEventLogA { + struct { + NTSTATUS result; + } out; + +}; + + +struct eventlog_BackupEventLogA { + struct { + NTSTATUS result; + } out; + +}; + + +struct eventlog_OpenEventLogA { + struct { + NTSTATUS result; + } out; + +}; + + +struct eventlog_RegisterEventSourceA { + struct { + NTSTATUS result; + } out; + +}; + + +struct eventlog_OpenBackupEventLogA { + struct { + NTSTATUS result; + } out; + +}; + + +struct eventlog_ReadEventLogA { + struct { + NTSTATUS result; + } out; + +}; + + +struct eventlog_ReportEventA { + struct { + NTSTATUS result; + } out; + +}; + + +struct eventlog_RegisterClusterSvc { + struct { + NTSTATUS result; + } out; + +}; + + +struct eventlog_DeregisterClusterSvc { + struct { + NTSTATUS result; + } out; + +}; + + +struct eventlog_WriteClusterEvents { + struct { + NTSTATUS result; + } out; + +}; + + +struct eventlog_GetLogIntormation { + struct { + NTSTATUS result; + } out; + +}; + + +struct eventlog_FlushEventLog { + struct { + struct policy_handle *handle;/* [keepref,ref] */ + } in; + + struct { + NTSTATUS result; + } out; + +}; + +#endif /* _HEADER_eventlog */ -- cgit