From 55781cdce67bdba9c6f37024ae1c76c74a8881de Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 27 May 2005 18:14:43 +0000 Subject: 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) --- source4/librpc/idl/orpc.idl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'source4/librpc') 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; -- cgit