diff options
author | Tim Potter <tpot@samba.org> | 2005-08-06 00:46:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:31:24 -0500 |
commit | 220686a5c10aa54ebda55272edf7a61e0ca79e74 (patch) | |
tree | 181a8e9231874100ad4fb10b3fcfbada6ad08dde /source4/librpc | |
parent | bc43808d8b1542a40faad5ad66174e61c7589b8f (diff) | |
download | samba-220686a5c10aa54ebda55272edf7a61e0ca79e74.tar.gz samba-220686a5c10aa54ebda55272edf7a61e0ca79e74.tar.bz2 samba-220686a5c10aa54ebda55272edf7a61e0ca79e74.zip |
r9154: Change eventlog enums to bitmaps.
Fix IDL for ReadEventLogW() function.
(This used to be commit b1b76ad9c428f0941d104e9312aa426c39da7134)
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/idl/eventlog.idl | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/source4/librpc/idl/eventlog.idl b/source4/librpc/idl/eventlog.idl index 6393d38b15..ab0f2a1ff0 100644 --- a/source4/librpc/idl/eventlog.idl +++ b/source4/librpc/idl/eventlog.idl @@ -11,20 +11,20 @@ helpstring("Event Logger") ] interface eventlog { - typedef enum { + typedef bitmap { EVENTLOG_SEQUENTIAL_READ = 0x0001, - EVENTLOG_SEEK_READ = 0x0002, - EVENTLOG_FORWARDS_READ = 0x0004, - EVENTLOG_BACKWARDS_READ = 0x0008 + EVENTLOG_SEEK_READ = 0x0002, + EVENTLOG_FORWARDS_READ = 0x0004, + EVENTLOG_BACKWARDS_READ = 0x0008 } eventlogReadFlags; - typedef enum { - EVENTLOG_SUCCESS = 0x0000, - EVENTLOG_ERROR_TYPE = 0x0001, - EVENTLOG_WARNING_TYPE = 0x0002, + typedef bitmap { + EVENTLOG_SUCCESS = 0x0000, + EVENTLOG_ERROR_TYPE = 0x0001, + EVENTLOG_WARNING_TYPE = 0x0002, EVENTLOG_INFORMATION_TYPE = 0x0004, - EVENTLOG_AUDIT_SUCCESS = 0x0008, - EVENTLOG_AUDIT_FAILURE = 0x0010 + EVENTLOG_AUDIT_SUCCESS = 0x0008, + EVENTLOG_AUDIT_FAILURE = 0x0010 } eventlogEventTypes; typedef struct { @@ -116,7 +116,7 @@ [in,ref] policy_handle *handle, [in] uint32 flags, [in] uint32 offset, - [in,out] uint32 number_of_bytes, + [in] uint32 number_of_bytes, [out,ref,size_is(number_of_bytes)] uint8 *data, [out] uint32 sent_size, [out] uint32 real_size |