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/ndr_eventlog.h | 92 +++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 source3/librpc/gen_ndr/ndr_eventlog.h (limited to 'source3/librpc/gen_ndr/ndr_eventlog.h') diff --git a/source3/librpc/gen_ndr/ndr_eventlog.h b/source3/librpc/gen_ndr/ndr_eventlog.h new file mode 100644 index 0000000000..da43bcf9fc --- /dev/null +++ b/source3/librpc/gen_ndr/ndr_eventlog.h @@ -0,0 +1,92 @@ +/* header auto-generated by pidl */ + +#include "librpc/gen_ndr/eventlog.h" + +#ifndef _HEADER_NDR_eventlog +#define _HEADER_NDR_eventlog + +#include "librpc/ndr/libndr.h" +#define DCERPC_EVENTLOG_UUID "82273fdc-e32a-18c3-3f78-827929dc23ea" +#define DCERPC_EVENTLOG_VERSION 0.0 +#define DCERPC_EVENTLOG_NAME "eventlog" +#define DCERPC_EVENTLOG_HELPSTRING "Event Logger" +extern const struct dcerpc_interface_table dcerpc_table_eventlog; +NTSTATUS dcerpc_server_eventlog_init(void); +#define DCERPC_EVENTLOG_CLEAREVENTLOGW (0x00) + +#define DCERPC_EVENTLOG_BACKUPEVENTLOGW (0x01) + +#define DCERPC_EVENTLOG_CLOSEEVENTLOG (0x02) + +#define DCERPC_EVENTLOG_DEREGISTEREVENTSOURCE (0x03) + +#define DCERPC_EVENTLOG_GETNUMRECORDS (0x04) + +#define DCERPC_EVENTLOG_GETOLDESTRECORD (0x05) + +#define DCERPC_EVENTLOG_CHANGENOTIFY (0x06) + +#define DCERPC_EVENTLOG_OPENEVENTLOGW (0x07) + +#define DCERPC_EVENTLOG_REGISTEREVENTSOURCEW (0x08) + +#define DCERPC_EVENTLOG_OPENBACKUPEVENTLOGW (0x09) + +#define DCERPC_EVENTLOG_READEVENTLOGW (0x0a) + +#define DCERPC_EVENTLOG_REPORTEVENTW (0x0b) + +#define DCERPC_EVENTLOG_CLEAREVENTLOGA (0x0c) + +#define DCERPC_EVENTLOG_BACKUPEVENTLOGA (0x0d) + +#define DCERPC_EVENTLOG_OPENEVENTLOGA (0x0e) + +#define DCERPC_EVENTLOG_REGISTEREVENTSOURCEA (0x0f) + +#define DCERPC_EVENTLOG_OPENBACKUPEVENTLOGA (0x10) + +#define DCERPC_EVENTLOG_READEVENTLOGA (0x11) + +#define DCERPC_EVENTLOG_REPORTEVENTA (0x12) + +#define DCERPC_EVENTLOG_REGISTERCLUSTERSVC (0x13) + +#define DCERPC_EVENTLOG_DEREGISTERCLUSTERSVC (0x14) + +#define DCERPC_EVENTLOG_WRITECLUSTEREVENTS (0x15) + +#define DCERPC_EVENTLOG_GETLOGINTORMATION (0x16) + +#define DCERPC_EVENTLOG_FLUSHEVENTLOG (0x17) + +#define DCERPC_EVENTLOG_CALL_COUNT (24) +void ndr_print_eventlog_OpenUnknown0(struct ndr_print *ndr, const char *name, const struct eventlog_OpenUnknown0 *r); +NTSTATUS ndr_push_eventlog_Record(struct ndr_push *ndr, int ndr_flags, const struct eventlog_Record *r); +NTSTATUS ndr_pull_eventlog_Record(struct ndr_pull *ndr, int ndr_flags, struct eventlog_Record *r); +void ndr_print_eventlog_Record(struct ndr_print *ndr, const char *name, const struct eventlog_Record *r); +void ndr_print_eventlog_ClearEventLogW(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_ClearEventLogW *r); +void ndr_print_eventlog_BackupEventLogW(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_BackupEventLogW *r); +void ndr_print_eventlog_CloseEventLog(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_CloseEventLog *r); +void ndr_print_eventlog_DeregisterEventSource(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_DeregisterEventSource *r); +void ndr_print_eventlog_GetNumRecords(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_GetNumRecords *r); +void ndr_print_eventlog_GetOldestRecord(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_GetOldestRecord *r); +void ndr_print_eventlog_ChangeNotify(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_ChangeNotify *r); +void ndr_print_eventlog_OpenEventLogW(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_OpenEventLogW *r); +void ndr_print_eventlog_RegisterEventSourceW(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_RegisterEventSourceW *r); +void ndr_print_eventlog_OpenBackupEventLogW(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_OpenBackupEventLogW *r); +void ndr_print_eventlog_ReadEventLogW(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_ReadEventLogW *r); +void ndr_print_eventlog_ReportEventW(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_ReportEventW *r); +void ndr_print_eventlog_ClearEventLogA(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_ClearEventLogA *r); +void ndr_print_eventlog_BackupEventLogA(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_BackupEventLogA *r); +void ndr_print_eventlog_OpenEventLogA(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_OpenEventLogA *r); +void ndr_print_eventlog_RegisterEventSourceA(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_RegisterEventSourceA *r); +void ndr_print_eventlog_OpenBackupEventLogA(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_OpenBackupEventLogA *r); +void ndr_print_eventlog_ReadEventLogA(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_ReadEventLogA *r); +void ndr_print_eventlog_ReportEventA(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_ReportEventA *r); +void ndr_print_eventlog_RegisterClusterSvc(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_RegisterClusterSvc *r); +void ndr_print_eventlog_DeregisterClusterSvc(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_DeregisterClusterSvc *r); +void ndr_print_eventlog_WriteClusterEvents(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_WriteClusterEvents *r); +void ndr_print_eventlog_GetLogIntormation(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_GetLogIntormation *r); +void ndr_print_eventlog_FlushEventLog(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_FlushEventLog *r); +#endif /* _HEADER_NDR_eventlog */ -- cgit From c2628e19a77f2bec3f14d0f670717195c7299a90 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 19 Aug 2007 20:47:31 +0000 Subject: r24552: merge from SAMBA_4_0: rename dcerpc_interface_table -> ndr_interface_table rename dcerpc_interface_list -> ndr_interface_list and move them to libndr.h metze (This used to be commit f57d23d0f1b1c7a435f3a4ad801e58519cc92a77) --- source3/librpc/gen_ndr/ndr_eventlog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/librpc/gen_ndr/ndr_eventlog.h') diff --git a/source3/librpc/gen_ndr/ndr_eventlog.h b/source3/librpc/gen_ndr/ndr_eventlog.h index da43bcf9fc..5ccc5b53ee 100644 --- a/source3/librpc/gen_ndr/ndr_eventlog.h +++ b/source3/librpc/gen_ndr/ndr_eventlog.h @@ -10,7 +10,7 @@ #define DCERPC_EVENTLOG_VERSION 0.0 #define DCERPC_EVENTLOG_NAME "eventlog" #define DCERPC_EVENTLOG_HELPSTRING "Event Logger" -extern const struct dcerpc_interface_table dcerpc_table_eventlog; +extern const struct ndr_interface_table dcerpc_table_eventlog; NTSTATUS dcerpc_server_eventlog_init(void); #define DCERPC_EVENTLOG_CLEAREVENTLOGW (0x00) -- cgit From 2f3511c56e8a508c678f90e8fbd16116685b8a2b Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 19 Aug 2007 21:23:28 +0000 Subject: r24558: merge from SAMBA_4_0: rename 'dcerpc_table_' -> 'ndr_table_' metze (This used to be commit 4e5908cd596f97d3bb73bd9c0bf3d360944f7810) --- source3/librpc/gen_ndr/ndr_eventlog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/librpc/gen_ndr/ndr_eventlog.h') diff --git a/source3/librpc/gen_ndr/ndr_eventlog.h b/source3/librpc/gen_ndr/ndr_eventlog.h index 5ccc5b53ee..cdebc98ff8 100644 --- a/source3/librpc/gen_ndr/ndr_eventlog.h +++ b/source3/librpc/gen_ndr/ndr_eventlog.h @@ -10,7 +10,7 @@ #define DCERPC_EVENTLOG_VERSION 0.0 #define DCERPC_EVENTLOG_NAME "eventlog" #define DCERPC_EVENTLOG_HELPSTRING "Event Logger" -extern const struct ndr_interface_table dcerpc_table_eventlog; +extern const struct ndr_interface_table ndr_table_eventlog; NTSTATUS dcerpc_server_eventlog_init(void); #define DCERPC_EVENTLOG_CLEAREVENTLOGW (0x00) -- cgit From 8da26d3f96ac66e3f0be8aaec209867d3f285e49 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 19 Aug 2007 22:10:11 +0000 Subject: r24561: merge from SAMBA_4_0: rename some DCERPC_ prefixes into NDR_ metze (This used to be commit 8f07b8ab658ae3d63487ca5fb20065318cdd9d0e) --- source3/librpc/gen_ndr/ndr_eventlog.h | 58 +++++++++++++++++------------------ 1 file changed, 29 insertions(+), 29 deletions(-) (limited to 'source3/librpc/gen_ndr/ndr_eventlog.h') diff --git a/source3/librpc/gen_ndr/ndr_eventlog.h b/source3/librpc/gen_ndr/ndr_eventlog.h index cdebc98ff8..3933082a2f 100644 --- a/source3/librpc/gen_ndr/ndr_eventlog.h +++ b/source3/librpc/gen_ndr/ndr_eventlog.h @@ -6,61 +6,61 @@ #define _HEADER_NDR_eventlog #include "librpc/ndr/libndr.h" -#define DCERPC_EVENTLOG_UUID "82273fdc-e32a-18c3-3f78-827929dc23ea" -#define DCERPC_EVENTLOG_VERSION 0.0 -#define DCERPC_EVENTLOG_NAME "eventlog" -#define DCERPC_EVENTLOG_HELPSTRING "Event Logger" +#define NDR_EVENTLOG_UUID "82273fdc-e32a-18c3-3f78-827929dc23ea" +#define NDR_EVENTLOG_VERSION 0.0 +#define NDR_EVENTLOG_NAME "eventlog" +#define NDR_EVENTLOG_HELPSTRING "Event Logger" extern const struct ndr_interface_table ndr_table_eventlog; NTSTATUS dcerpc_server_eventlog_init(void); -#define DCERPC_EVENTLOG_CLEAREVENTLOGW (0x00) +#define NDR_EVENTLOG_CLEAREVENTLOGW (0x00) -#define DCERPC_EVENTLOG_BACKUPEVENTLOGW (0x01) +#define NDR_EVENTLOG_BACKUPEVENTLOGW (0x01) -#define DCERPC_EVENTLOG_CLOSEEVENTLOG (0x02) +#define NDR_EVENTLOG_CLOSEEVENTLOG (0x02) -#define DCERPC_EVENTLOG_DEREGISTEREVENTSOURCE (0x03) +#define NDR_EVENTLOG_DEREGISTEREVENTSOURCE (0x03) -#define DCERPC_EVENTLOG_GETNUMRECORDS (0x04) +#define NDR_EVENTLOG_GETNUMRECORDS (0x04) -#define DCERPC_EVENTLOG_GETOLDESTRECORD (0x05) +#define NDR_EVENTLOG_GETOLDESTRECORD (0x05) -#define DCERPC_EVENTLOG_CHANGENOTIFY (0x06) +#define NDR_EVENTLOG_CHANGENOTIFY (0x06) -#define DCERPC_EVENTLOG_OPENEVENTLOGW (0x07) +#define NDR_EVENTLOG_OPENEVENTLOGW (0x07) -#define DCERPC_EVENTLOG_REGISTEREVENTSOURCEW (0x08) +#define NDR_EVENTLOG_REGISTEREVENTSOURCEW (0x08) -#define DCERPC_EVENTLOG_OPENBACKUPEVENTLOGW (0x09) +#define NDR_EVENTLOG_OPENBACKUPEVENTLOGW (0x09) -#define DCERPC_EVENTLOG_READEVENTLOGW (0x0a) +#define NDR_EVENTLOG_READEVENTLOGW (0x0a) -#define DCERPC_EVENTLOG_REPORTEVENTW (0x0b) +#define NDR_EVENTLOG_REPORTEVENTW (0x0b) -#define DCERPC_EVENTLOG_CLEAREVENTLOGA (0x0c) +#define NDR_EVENTLOG_CLEAREVENTLOGA (0x0c) -#define DCERPC_EVENTLOG_BACKUPEVENTLOGA (0x0d) +#define NDR_EVENTLOG_BACKUPEVENTLOGA (0x0d) -#define DCERPC_EVENTLOG_OPENEVENTLOGA (0x0e) +#define NDR_EVENTLOG_OPENEVENTLOGA (0x0e) -#define DCERPC_EVENTLOG_REGISTEREVENTSOURCEA (0x0f) +#define NDR_EVENTLOG_REGISTEREVENTSOURCEA (0x0f) -#define DCERPC_EVENTLOG_OPENBACKUPEVENTLOGA (0x10) +#define NDR_EVENTLOG_OPENBACKUPEVENTLOGA (0x10) -#define DCERPC_EVENTLOG_READEVENTLOGA (0x11) +#define NDR_EVENTLOG_READEVENTLOGA (0x11) -#define DCERPC_EVENTLOG_REPORTEVENTA (0x12) +#define NDR_EVENTLOG_REPORTEVENTA (0x12) -#define DCERPC_EVENTLOG_REGISTERCLUSTERSVC (0x13) +#define NDR_EVENTLOG_REGISTERCLUSTERSVC (0x13) -#define DCERPC_EVENTLOG_DEREGISTERCLUSTERSVC (0x14) +#define NDR_EVENTLOG_DEREGISTERCLUSTERSVC (0x14) -#define DCERPC_EVENTLOG_WRITECLUSTEREVENTS (0x15) +#define NDR_EVENTLOG_WRITECLUSTEREVENTS (0x15) -#define DCERPC_EVENTLOG_GETLOGINTORMATION (0x16) +#define NDR_EVENTLOG_GETLOGINTORMATION (0x16) -#define DCERPC_EVENTLOG_FLUSHEVENTLOG (0x17) +#define NDR_EVENTLOG_FLUSHEVENTLOG (0x17) -#define DCERPC_EVENTLOG_CALL_COUNT (24) +#define NDR_EVENTLOG_CALL_COUNT (24) void ndr_print_eventlog_OpenUnknown0(struct ndr_print *ndr, const char *name, const struct eventlog_OpenUnknown0 *r); NTSTATUS ndr_push_eventlog_Record(struct ndr_push *ndr, int ndr_flags, const struct eventlog_Record *r); NTSTATUS ndr_pull_eventlog_Record(struct ndr_pull *ndr, int ndr_flags, struct eventlog_Record *r); -- cgit From 8fb2e83733c2593d25c5c50d60948cea6587dcc6 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 19 Aug 2007 22:24:45 +0000 Subject: r24564: regenerate after pidl changes... metze (This used to be commit ec8858c37482f0d2ac1291d9a9df00dace6944a8) --- source3/librpc/gen_ndr/ndr_eventlog.h | 1 - 1 file changed, 1 deletion(-) (limited to 'source3/librpc/gen_ndr/ndr_eventlog.h') diff --git a/source3/librpc/gen_ndr/ndr_eventlog.h b/source3/librpc/gen_ndr/ndr_eventlog.h index 3933082a2f..a84bddc4d3 100644 --- a/source3/librpc/gen_ndr/ndr_eventlog.h +++ b/source3/librpc/gen_ndr/ndr_eventlog.h @@ -11,7 +11,6 @@ #define NDR_EVENTLOG_NAME "eventlog" #define NDR_EVENTLOG_HELPSTRING "Event Logger" extern const struct ndr_interface_table ndr_table_eventlog; -NTSTATUS dcerpc_server_eventlog_init(void); #define NDR_EVENTLOG_CLEAREVENTLOGW (0x00) #define NDR_EVENTLOG_BACKUPEVENTLOGW (0x01) -- cgit From 08ace73dbbcef5543bbaee9ba7ee16a0bd42a395 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 9 Nov 2007 14:38:47 +0100 Subject: rerun make idl metze (This used to be commit 53a636828d2ba01603401086f4a5f72f9b5ea214) --- source3/librpc/gen_ndr/ndr_eventlog.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/librpc/gen_ndr/ndr_eventlog.h') diff --git a/source3/librpc/gen_ndr/ndr_eventlog.h b/source3/librpc/gen_ndr/ndr_eventlog.h index a84bddc4d3..6c6e679eca 100644 --- a/source3/librpc/gen_ndr/ndr_eventlog.h +++ b/source3/librpc/gen_ndr/ndr_eventlog.h @@ -1,11 +1,11 @@ /* header auto-generated by pidl */ +#include "librpc/ndr/libndr.h" #include "librpc/gen_ndr/eventlog.h" #ifndef _HEADER_NDR_eventlog #define _HEADER_NDR_eventlog -#include "librpc/ndr/libndr.h" #define NDR_EVENTLOG_UUID "82273fdc-e32a-18c3-3f78-827929dc23ea" #define NDR_EVENTLOG_VERSION 0.0 #define NDR_EVENTLOG_NAME "eventlog" @@ -61,8 +61,8 @@ extern const struct ndr_interface_table ndr_table_eventlog; #define NDR_EVENTLOG_CALL_COUNT (24) void ndr_print_eventlog_OpenUnknown0(struct ndr_print *ndr, const char *name, const struct eventlog_OpenUnknown0 *r); -NTSTATUS ndr_push_eventlog_Record(struct ndr_push *ndr, int ndr_flags, const struct eventlog_Record *r); -NTSTATUS ndr_pull_eventlog_Record(struct ndr_pull *ndr, int ndr_flags, struct eventlog_Record *r); +enum ndr_err_code ndr_push_eventlog_Record(struct ndr_push *ndr, int ndr_flags, const struct eventlog_Record *r); +enum ndr_err_code ndr_pull_eventlog_Record(struct ndr_pull *ndr, int ndr_flags, struct eventlog_Record *r); void ndr_print_eventlog_Record(struct ndr_print *ndr, const char *name, const struct eventlog_Record *r); void ndr_print_eventlog_ClearEventLogW(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_ClearEventLogW *r); void ndr_print_eventlog_BackupEventLogW(struct ndr_print *ndr, const char *name, int flags, const struct eventlog_BackupEventLogW *r); -- cgit