diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-03-05 18:34:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:10:57 -0500 |
commit | 631aa1f0efa75924c4d8ba639de80527fb8da7b5 (patch) | |
tree | 6b6e0f16c6f5d1ec96cff1344973808c86311898 /source4/librpc/idl/drsuapi.idl | |
parent | df036e08294ec98a2c7049f7f2fe03de1fd2ae44 (diff) | |
download | samba-631aa1f0efa75924c4d8ba639de80527fb8da7b5.tar.gz samba-631aa1f0efa75924c4d8ba639de80527fb8da7b5.tar.bz2 samba-631aa1f0efa75924c4d8ba639de80527fb8da7b5.zip |
r5661: Be a little stricter on syntax regarding arrays. A pointer to an
array can now only be :
type *name[];
rather then :
type *name;
which was supported in the past. Warnings will be given when the first
syntax is used. Reasons for this change in behaviour include improved
readability and the fact that the second format makes dealing with multiple
levels of pointers harder.
(This used to be commit a416de5825c540fd3741731c4be05e9a659a6fdb)
Diffstat (limited to 'source4/librpc/idl/drsuapi.idl')
-rw-r--r-- | source4/librpc/idl/drsuapi.idl | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source4/librpc/idl/drsuapi.idl b/source4/librpc/idl/drsuapi.idl index be7a06bf23..72197aec16 100644 --- a/source4/librpc/idl/drsuapi.idl +++ b/source4/librpc/idl/drsuapi.idl @@ -219,7 +219,7 @@ interface drsuapi drsuapi_DsNameFormat format_offered; drsuapi_DsNameFormat format_desired; [range(1,10000)] uint32 count; - [size_is(count)] drsuapi_DsNameString *names; + [size_is(count)] drsuapi_DsNameString *names[]; } drsuapi_DsNameRequest1; typedef union { @@ -234,7 +234,7 @@ interface drsuapi typedef struct { uint32 count; - [size_is(count)] drsuapi_DsNameInfo1 *array; + [size_is(count)] drsuapi_DsNameInfo1 *array[]; } drsuapi_DsNameCtr1; typedef union { @@ -261,7 +261,7 @@ interface drsuapi uint32 unknown1; unistr *object_dn; [range(0,10000)] uint32 count; - [size_is(count)] drsuapi_DsNameString *spn_names; + [size_is(count)] drsuapi_DsNameString *spn_names[]; } drsuapi_DsWriteAccountSpnRequest1; typedef union { @@ -314,7 +314,7 @@ interface drsuapi typedef struct { [range(0,10000)] uint32 count; - [size_is(count)] drsuapi_DsGetDCInfo1 *array; + [size_is(count)] drsuapi_DsGetDCInfo1 *array[]; } drsuapi_DsGetDCInfoCtr1; typedef struct { @@ -336,7 +336,7 @@ interface drsuapi typedef struct { [range(0,10000)] uint32 count; - [size_is(count)] drsuapi_DsGetDCInfo2 *array; + [size_is(count)] drsuapi_DsGetDCInfo2 *array[]; } drsuapi_DsGetDCInfoCtr2; typedef struct { @@ -351,7 +351,7 @@ interface drsuapi typedef struct { [range(0,10000)] uint32 count; - [size_is(count)] drsuapi_DsGetDCInfo01 *array; + [size_is(count)] drsuapi_DsGetDCInfo01 *array[]; } drsuapi_DsGetDCInfoCtr01; typedef union { @@ -509,7 +509,7 @@ interface drsuapi unistr *attribute_name; unistr *object_dn; uint32 value_length; - [size_is(value_length)] uint8 *value; + [size_is(value_length)] uint8 *value[]; NTTIME deleted; NTTIME created; uint32 version; @@ -570,7 +570,7 @@ interface drsuapi unistr *attribute_name; unistr *object_dn; uint32 value_length; - [size_is(value_length)] uint8 *value; + [size_is(value_length)] uint8 *value[]; NTTIME deleted; NTTIME created; uint32 version; |