svn commit: samba r9237 - in branches/SAMBA_4_0/source/librpc/idl: .
tpot at samba.org
tpot at samba.org
Thu Aug 11 03:31:36 GMT 2005
Author: tpot
Date: 2005-08-11 03:31:35 +0000 (Thu, 11 Aug 2005)
New Revision: 9237
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9237
Log:
Fix eventlog_Record typedef so it decodes records source and computer
names. Need to get working with SIDs and extra data.
Modified:
branches/SAMBA_4_0/source/librpc/idl/eventlog.idl
Changeset:
Modified: branches/SAMBA_4_0/source/librpc/idl/eventlog.idl
===================================================================
--- branches/SAMBA_4_0/source/librpc/idl/eventlog.idl 2005-08-10 23:38:10 UTC (rev 9236)
+++ branches/SAMBA_4_0/source/librpc/idl/eventlog.idl 2005-08-11 03:31:35 UTC (rev 9237)
@@ -32,26 +32,25 @@
uint16 unknown1;
} eventlog_OpenUnknown0;
- typedef struct {
+ typedef [public] struct {
uint32 size;
uint32 reserved;
- uint32 recordnumber;
- uint32 creationtime;
- uint32 writetime;
- uint32 eventnumber;
- uint16 eventtype;
+ uint32 record_number;
+ uint32 time_generated;
+ uint32 time_written;
+ uint32 event_id;
+ uint16 event_type;
uint16 num_of_strings;
- uint16 category;
- uint16 reserved_flag;
- uint32 closingrecord;
+ uint16 event_category;
+ uint16 reserved_flags;
+ uint32 closing_record_number;
uint32 stringoffset;
- [size_is(num_of_strings)] lsa_String bla[*];
uint32 sid_length;
- [size_is(sid_length)] dom_sid *sids;
+ uint32 sid_offset;
uint32 data_length;
- [size_is(data_length)] uint8 *data;
- unistr *source_name;
- unistr *machine_name;
+ uint32 data_offset;
+ nstring source_name;
+ nstring computer_name;
} eventlog_Record;
/******************/
@@ -71,7 +70,6 @@
[in,out,ref] policy_handle *handle
);
-
/******************/
/* Function: 0x03 */
NTSTATUS eventlog_DeregisterEventSource();
More information about the samba-cvs
mailing list