summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-11-20 21:52:40 +0000
committerTim Potter <tpot@samba.org>2003-11-20 21:52:40 +0000
commit20730626af0b1aee6149fb7c537d185899ad0cef (patch)
tree057c4f571e60a2473861f7984d2dec30baea0898 /source4/librpc
parentddd2f9ced058a24ef63c4033cb54c8517269bbfd (diff)
downloadsamba-20730626af0b1aee6149fb7c537d185899ad0cef.tar.gz
samba-20730626af0b1aee6149fb7c537d185899ad0cef.tar.bz2
samba-20730626af0b1aee6149fb7c537d185899ad0cef.zip
Add initial work on eventlog - doesn't quite work yet.
(This used to be commit 99fff7b1e24ee7231fa41ca9cb85382637f2b2b0)
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"