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 From 8c79b4cbc152dd4df11d3916739bc851b6db2e86 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 19 Sep 2006 22:22:57 +0000 Subject: r18690: Regenerate RPC files after pidl changes. (This used to be commit 87d34305374e867eeac9d75d5d690c6b15570e6e) --- source3/librpc/gen_ndr/eventlog.h | 84 +++++++++++++++++++-------------------- 1 file changed, 42 insertions(+), 42 deletions(-) (limited to 'source3/librpc/gen_ndr/eventlog.h') diff --git a/source3/librpc/gen_ndr/eventlog.h b/source3/librpc/gen_ndr/eventlog.h index eb338e905b..0ddc9cc346 100644 --- a/source3/librpc/gen_ndr/eventlog.h +++ b/source3/librpc/gen_ndr/eventlog.h @@ -20,38 +20,38 @@ #define EVENTLOG_AUDIT_FAILURE ( 0x0010 ) struct eventlog_OpenUnknown0 { - uint16_t unknown0;/* [keepref] */ - uint16_t unknown1;/* [keepref] */ + uint16_t unknown0; + uint16_t unknown1; }; 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)] */ + uint32_t size; + uint32_t reserved; + uint32_t record_number; + uint32_t time_generated; + uint32_t time_written; + uint32_t event_id; + uint16_t event_type; + uint16_t num_of_strings; + uint16_t event_category; + uint16_t reserved_flags; + uint32_t closing_record_number; + uint32_t stringoffset; + uint32_t sid_length; + uint32_t sid_offset; + uint32_t data_length; + uint32_t data_offset; + const char * source_name;/* [flag(LIBNDR_FLAG_STR_NULLTERM)] */ + const char * computer_name;/* [flag(LIBNDR_FLAG_STR_NULLTERM)] */ + const char * *strings;/* [flag(LIBNDR_FLAG_STR_NULLTERM)] */ + const char * raw_data;/* [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] */ + struct policy_handle *handle;/* [ref] */ + struct lsa_String *unknown;/* [unique] */ } in; struct { @@ -71,11 +71,11 @@ struct eventlog_BackupEventLogW { struct eventlog_CloseEventLog { struct { - struct policy_handle *handle;/* [keepref,ref] */ + struct policy_handle *handle;/* [ref] */ } in; struct { - struct policy_handle *handle;/* [keepref,ref] */ + struct policy_handle *handle;/* [ref] */ NTSTATUS result; } out; @@ -92,11 +92,11 @@ struct eventlog_DeregisterEventSource { struct eventlog_GetNumRecords { struct { - struct policy_handle *handle;/* [keepref,ref] */ + struct policy_handle *handle;/* [ref] */ } in; struct { - uint32_t *number;/* [keepref,ref] */ + uint32_t *number;/* [ref] */ NTSTATUS result; } out; @@ -121,15 +121,15 @@ struct eventlog_ChangeNotify { 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] */ + struct eventlog_OpenUnknown0 *unknown0;/* [unique] */ + struct lsa_String logname; + struct lsa_String servername; + uint32_t unknown2; + uint32_t unknown3; } in; struct { - struct policy_handle *handle;/* [keepref,ref] */ + struct policy_handle *handle;/* [ref] */ NTSTATUS result; } out; @@ -154,16 +154,16 @@ struct eventlog_OpenBackupEventLogW { struct eventlog_ReadEventLogW { struct { - struct policy_handle *handle;/* [keepref,ref] */ - uint32_t flags;/* [keepref] */ - uint32_t offset;/* [keepref] */ - uint32_t number_of_bytes;/* [keepref] */ + struct policy_handle *handle;/* [ref] */ + uint32_t flags; + uint32_t offset; + uint32_t number_of_bytes; } in; struct { - uint8_t *data;/* [keepref,ref,size_is(number_of_bytes)] */ - uint32_t *sent_size;/* [keepref,ref] */ - uint32_t *real_size;/* [keepref,ref] */ + uint8_t *data;/* [ref,size_is(number_of_bytes)] */ + uint32_t *sent_size;/* [ref] */ + uint32_t *real_size;/* [ref] */ NTSTATUS result; } out; @@ -268,7 +268,7 @@ struct eventlog_GetLogIntormation { struct eventlog_FlushEventLog { struct { - struct policy_handle *handle;/* [keepref,ref] */ + struct policy_handle *handle;/* [ref] */ } in; struct { -- cgit From 482603735d97b6de5ae06decf118ec8ea8c1961c Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 6 Nov 2006 23:20:35 +0000 Subject: r19591: Use `import' and `include' in the IDL and regenerate. (This used to be commit 68fc15a5e025348dee4bf14aa4498e20905cb377) --- source3/librpc/gen_ndr/eventlog.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/librpc/gen_ndr/eventlog.h') diff --git a/source3/librpc/gen_ndr/eventlog.h b/source3/librpc/gen_ndr/eventlog.h index 0ddc9cc346..6b5bdf1b89 100644 --- a/source3/librpc/gen_ndr/eventlog.h +++ b/source3/librpc/gen_ndr/eventlog.h @@ -1,10 +1,10 @@ /* header auto-generated by pidl */ +#include "librpc/gen_ndr/lsa.h" +#include "librpc/gen_ndr/security.h" #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 ) -- cgit From 4003edf0df14b69fca0d1af923badbd682c0008c Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 16 Feb 2007 14:50:57 +0000 Subject: r21385: Regenerate IDL after pidl changes, sync winreg.idl from samba4. (This used to be commit b84370513fbf790e599c33f177fb271a2a992b72) --- source3/librpc/gen_ndr/eventlog.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/librpc/gen_ndr/eventlog.h') diff --git a/source3/librpc/gen_ndr/eventlog.h b/source3/librpc/gen_ndr/eventlog.h index 6b5bdf1b89..656dadcc6c 100644 --- a/source3/librpc/gen_ndr/eventlog.h +++ b/source3/librpc/gen_ndr/eventlog.h @@ -1,5 +1,7 @@ /* header auto-generated by pidl */ +#include + #include "librpc/gen_ndr/lsa.h" #include "librpc/gen_ndr/security.h" #ifndef _HEADER_eventlog -- cgit From 7d2152b8dc160175939eeb3b943827f3b68928bd Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 27 Feb 2007 17:17:16 +0000 Subject: r21562: Regenerate gen_ndr after pidl changes. (This used to be commit 952f648d8132a0652bb03b9e7671239e57614ee9) --- source3/librpc/gen_ndr/eventlog.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/librpc/gen_ndr/eventlog.h') diff --git a/source3/librpc/gen_ndr/eventlog.h b/source3/librpc/gen_ndr/eventlog.h index 656dadcc6c..e13fb50a5d 100644 --- a/source3/librpc/gen_ndr/eventlog.h +++ b/source3/librpc/gen_ndr/eventlog.h @@ -13,6 +13,8 @@ #define EVENTLOG_FORWARDS_READ ( 0x0004 ) #define EVENTLOG_BACKWARDS_READ ( 0x0008 ) +; + /* bitmap eventlogEventTypes */ #define EVENTLOG_SUCCESS ( 0x0000 ) #define EVENTLOG_ERROR_TYPE ( 0x0001 ) @@ -21,6 +23,8 @@ #define EVENTLOG_AUDIT_SUCCESS ( 0x0008 ) #define EVENTLOG_AUDIT_FAILURE ( 0x0010 ) +; + struct eventlog_OpenUnknown0 { uint16_t unknown0; uint16_t unknown1; -- cgit From 048c80bf5472ff5492e543a33c28a370ed3efea8 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 24 Jan 2008 15:12:00 +0100 Subject: rerun 'make idl' metze (This used to be commit 37b95450518419e2153e9930b63f894b68096d3d) --- source3/librpc/gen_ndr/eventlog.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source3/librpc/gen_ndr/eventlog.h') diff --git a/source3/librpc/gen_ndr/eventlog.h b/source3/librpc/gen_ndr/eventlog.h index e13fb50a5d..656dadcc6c 100644 --- a/source3/librpc/gen_ndr/eventlog.h +++ b/source3/librpc/gen_ndr/eventlog.h @@ -13,8 +13,6 @@ #define EVENTLOG_FORWARDS_READ ( 0x0004 ) #define EVENTLOG_BACKWARDS_READ ( 0x0008 ) -; - /* bitmap eventlogEventTypes */ #define EVENTLOG_SUCCESS ( 0x0000 ) #define EVENTLOG_ERROR_TYPE ( 0x0001 ) @@ -23,8 +21,6 @@ #define EVENTLOG_AUDIT_SUCCESS ( 0x0008 ) #define EVENTLOG_AUDIT_FAILURE ( 0x0010 ) -; - struct eventlog_OpenUnknown0 { uint16_t unknown0; uint16_t unknown1; -- cgit From e98d9af8b38f75402371567340a02c2eed0fcee7 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 4 Feb 2008 10:15:19 +0100 Subject: Re-run make idl. Guenther (This used to be commit cfb4c6d82f84eb3a434f8a3e07b8281636f192db) --- source3/librpc/gen_ndr/eventlog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/librpc/gen_ndr/eventlog.h') diff --git a/source3/librpc/gen_ndr/eventlog.h b/source3/librpc/gen_ndr/eventlog.h index 656dadcc6c..4b61b64f2a 100644 --- a/source3/librpc/gen_ndr/eventlog.h +++ b/source3/librpc/gen_ndr/eventlog.h @@ -53,7 +53,7 @@ struct eventlog_Record { struct eventlog_ClearEventLogW { struct { struct policy_handle *handle;/* [ref] */ - struct lsa_String *unknown;/* [unique] */ + struct lsa_String *backupfile;/* [unique] */ } in; struct { -- cgit From ab66165cfe3e6bc673dfa285a3e03c2239e99442 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 4 Feb 2008 10:44:00 +0100 Subject: Re-run make idl. Guenther (This used to be commit ff6fb5de32ee81efc88d8c15f13c302e21790eee) --- source3/librpc/gen_ndr/eventlog.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/librpc/gen_ndr/eventlog.h') diff --git a/source3/librpc/gen_ndr/eventlog.h b/source3/librpc/gen_ndr/eventlog.h index 4b61b64f2a..8c7e34e49d 100644 --- a/source3/librpc/gen_ndr/eventlog.h +++ b/source3/librpc/gen_ndr/eventlog.h @@ -107,6 +107,11 @@ struct eventlog_GetNumRecords { struct eventlog_GetOldestRecord { struct { + struct policy_handle *handle;/* [ref] */ + } in; + + struct { + uint32_t *oldest_entry;/* [ref] */ NTSTATUS result; } out; -- cgit From e18af90e80d5c607889a0f96d229ab5f7f0265d3 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 4 Feb 2008 11:08:36 +0100 Subject: Re-run make idl. Guenther (This used to be commit f8a3dc350014ef08fe2d5a702dafdb5d0583ffef) --- source3/librpc/gen_ndr/eventlog.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/librpc/gen_ndr/eventlog.h') diff --git a/source3/librpc/gen_ndr/eventlog.h b/source3/librpc/gen_ndr/eventlog.h index 8c7e34e49d..e067a2bdd3 100644 --- a/source3/librpc/gen_ndr/eventlog.h +++ b/source3/librpc/gen_ndr/eventlog.h @@ -129,8 +129,8 @@ struct eventlog_ChangeNotify { struct eventlog_OpenEventLogW { struct { struct eventlog_OpenUnknown0 *unknown0;/* [unique] */ - struct lsa_String logname; - struct lsa_String servername; + struct lsa_String *logname;/* [ref] */ + struct lsa_String *servername;/* [ref] */ uint32_t unknown2; uint32_t unknown3; } in; -- cgit From 72ea99a0aa7ce9ffe0043c27d0d9cd466ec60e26 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 4 Feb 2008 11:28:15 +0100 Subject: Re-run make idl. Guenther (This used to be commit c56b702454c82b7aa7debbfc7f270b2d2b10226d) --- source3/librpc/gen_ndr/eventlog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/librpc/gen_ndr/eventlog.h') diff --git a/source3/librpc/gen_ndr/eventlog.h b/source3/librpc/gen_ndr/eventlog.h index e067a2bdd3..0fd929dd99 100644 --- a/source3/librpc/gen_ndr/eventlog.h +++ b/source3/librpc/gen_ndr/eventlog.h @@ -164,7 +164,7 @@ struct eventlog_ReadEventLogW { struct policy_handle *handle;/* [ref] */ uint32_t flags; uint32_t offset; - uint32_t number_of_bytes; + uint32_t number_of_bytes;/* [range(0,0x7FFFF)] */ } in; struct { -- cgit