diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-05-27 15:49:15 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:17:07 -0500 |
commit | 50d2bf00660c8c2c12cd1ea40b2212aa8250e611 (patch) | |
tree | acdc803745c2e09bc4c5325c3c02226ab4930486 /source4/librpc/idl/eventlog.idl | |
parent | 38c2164f68514727140270821c569a106b705997 (diff) | |
download | samba-50d2bf00660c8c2c12cd1ea40b2212aa8250e611.tar.gz samba-50d2bf00660c8c2c12cd1ea40b2212aa8250e611.tar.bz2 samba-50d2bf00660c8c2c12cd1ea40b2212aa8250e611.zip |
r7029: Make array support in pidl similar to that in other IDL compilers. We should
now able to use constructions like these:
[size_is(20)] int *x; -> Pointer to array of 20 ints
[size_is(20)] int x[]; -> Array of 20 ints
[size_is(20)] int *x[]; -> Array of 20 pointers to ints
[size_is(20,)] int *x[] -> Array of 20 pointers to ints
[size_is(,20)] int *x[]; -> Pointer to array of 20 ints
[size_is(,20)] int **x; -> Pointer to pointer to array of 20 ints
[size_is(20)] int x[][30]; -> 20 blocks of 30 ints
(This used to be commit ecf583da71c2f80be124c17fccdcb284b47e0695)
Diffstat (limited to 'source4/librpc/idl/eventlog.idl')
-rw-r--r-- | source4/librpc/idl/eventlog.idl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/librpc/idl/eventlog.idl b/source4/librpc/idl/eventlog.idl index 8b4963c1e1..c255256972 100644 --- a/source4/librpc/idl/eventlog.idl +++ b/source4/librpc/idl/eventlog.idl @@ -37,9 +37,9 @@ uint32 stringoffset; [size_is(num_of_strings)] eventlog_String bla[*]; uint32 sid_length; - [length_is(sid_length)] dom_sid *sids[]; + [size_is(sid_length)] dom_sid *sids; uint32 data_length; - [length_is(data_length)] uint8 *data[]; + [size_is(data_length)] uint8 *data; unistr *source_name; unistr *machine_name; } eventlog_Record; @@ -103,7 +103,7 @@ [in] uint32 flags, [in] uint32 offset, [in,out] uint32 number_of_bytes, - [out,ref,size_is(number_of_bytes)] uint8 *data[], + [out,ref,size_is(number_of_bytes)] uint8 *data, [out] uint32 sent_size, [out] uint32 real_size ); |