summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/eventlog.idl32
-rw-r--r--source4/librpc/ndr/libndr.h1
2 files changed, 33 insertions, 0 deletions
diff --git a/source4/librpc/idl/eventlog.idl b/source4/librpc/idl/eventlog.idl
new file mode 100644
index 0000000000..574868ab94
--- /dev/null
+++ b/source4/librpc/idl/eventlog.idl
@@ -0,0 +1,32 @@
+/*
+ eventlog interface definition
+*/
+[ uuid(82273fdc-e32a-17c3-3f78-827929dc23ea),
+ version(1.0),
+ pointer_default(unique)
+] interface eventlog
+{
+ /******************/
+ /* Function: 0x00 */
+ NTSTATUS eventlog_OpenEventLog(
+ [in] unistr *servername,
+ [in] unistr *sourcename,
+ [out,ref] policy_handle *handle
+ );
+
+ /******************/
+ /* Function: 0x01 */
+ NTSTATUS eventlog_GetNumRecords(
+ );
+
+ /******************/
+ /* Function: 0x02 */
+ NTSTATUS eventlog_ReadEventLog(
+ );
+
+ /******************/
+ /* Function: 0x03 */
+ NTSTATUS eventlog_CloseEventLog(
+ [in,out,ref] policy_handle *handle
+ );
+}
diff --git a/source4/librpc/ndr/libndr.h b/source4/librpc/ndr/libndr.h
index 93687d8796..b599d01023 100644
--- a/source4/librpc/ndr/libndr.h
+++ b/source4/librpc/ndr/libndr.h
@@ -200,3 +200,4 @@ typedef void (*ndr_print_union_fn_t)(struct ndr_print *, const char *, uint32, v
#include "librpc/gen_ndr/ndr_wkssvc.h"
#include "librpc/gen_ndr/ndr_srvsvc.h"
#include "librpc/gen_ndr/ndr_atsvc.h"
+#include "librpc/gen_ndr/ndr_eventlog.h"