summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-05-27 18:14:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:07 -0500
commit55781cdce67bdba9c6f37024ae1c76c74a8881de (patch)
tree7ade50546655331b30e5ed9ba042617c4f8dd6ff /source4/librpc
parent50d2bf00660c8c2c12cd1ea40b2212aa8250e611 (diff)
downloadsamba-55781cdce67bdba9c6f37024ae1c76c74a8881de.tar.gz
samba-55781cdce67bdba9c6f37024ae1c76c74a8881de.tar.bz2
samba-55781cdce67bdba9c6f37024ae1c76c74a8881de.zip
r7036: Allow more operations in several properties (such as size_is, length_is,
switch_is, etc) and simplify the code involved (This used to be commit 86de98ee09348297f2c30ce15888ba5e5637c078)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/orpc.idl6
1 files changed, 2 insertions, 4 deletions
diff --git a/source4/librpc/idl/orpc.idl b/source4/librpc/idl/orpc.idl
index 0e407a4d13..4b80c5bfe6 100644
--- a/source4/librpc/idl/orpc.idl
+++ b/source4/librpc/idl/orpc.idl
@@ -59,8 +59,7 @@ interface ObjectRpcBaseTypes
{
GUID id; /* Extension identifier. */
uint32 size; /* Extension size. */
- /*FIXME[size_is((size+7)&~7)] uint8 data[]; Extension data. */
- [size_is(size)] uint8 data[];
+ [size_is((size+7)&~7)] uint8 data[]; /* Extension data. */
} ORPC_EXTENT;
@@ -69,8 +68,7 @@ interface ObjectRpcBaseTypes
{
uint32 size; /* Num extents. */
uint32 reserved; /* Must be zero. */
- /*FIXME[size_is((size+1)&~1,), unique] ORPC_EXTENT **extent; extents */
- [size_is(size)] ORPC_EXTENT extent[];
+ [size_is((size+1)&~1,), unique] ORPC_EXTENT **extent; /* extents */
} ORPC_EXTENT_ARRAY;