summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--librpc/idl/eventlog.idl8
-rw-r--r--source4/torture/rpc/eventlog.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/librpc/idl/eventlog.idl b/librpc/idl/eventlog.idl
index ce25dd65ff..bab4cb90c7 100644
--- a/librpc/idl/eventlog.idl
+++ b/librpc/idl/eventlog.idl
@@ -11,7 +11,7 @@ import "lsa.idl", "security.idl";
helpstring("Event Logger")
] interface eventlog
{
- typedef bitmap {
+ typedef [bitmap32bit] bitmap {
EVENTLOG_SEQUENTIAL_READ = 0x0001,
EVENTLOG_SEEK_READ = 0x0002,
EVENTLOG_FORWARDS_READ = 0x0004,
@@ -100,8 +100,8 @@ import "lsa.idl", "security.idl";
[in,unique] eventlog_OpenUnknown0 *unknown0,
[in,ref] lsa_String *logname,
[in,ref] lsa_String *servername,
- [in] uint32 unknown2,
- [in] uint32 unknown3,
+ [in] uint32 major_version,
+ [in] uint32 minor_version,
[out] policy_handle *handle
);
@@ -117,7 +117,7 @@ import "lsa.idl", "security.idl";
/* Function: 0x0a */
NTSTATUS eventlog_ReadEventLogW(
[in] policy_handle *handle,
- [in] uint32 flags,
+ [in] eventlogReadFlags flags,
[in] uint32 offset,
[in] [range(0,0x7FFFF)] uint32 number_of_bytes,
[out,ref,size_is(number_of_bytes)] uint8 *data,
diff --git a/source4/torture/rpc/eventlog.c b/source4/torture/rpc/eventlog.c
index 31d91c056b..e89cdd3ea9 100644
--- a/source4/torture/rpc/eventlog.c
+++ b/source4/torture/rpc/eventlog.c
@@ -50,8 +50,8 @@ static bool get_policy_handle(struct torture_context *tctx,
init_lsa_String(&servername, NULL);
r.in.logname = &logname;
r.in.servername = &servername;
- r.in.unknown2 = 0x00000001;
- r.in.unknown3 = 0x00000001;
+ r.in.major_version = 0x00000001;
+ r.in.minor_version = 0x00000001;
r.out.handle = handle;
torture_assert_ntstatus_ok(tctx,