summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/srvsvc.idl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-03-05 18:34:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:10:57 -0500
commit631aa1f0efa75924c4d8ba639de80527fb8da7b5 (patch)
tree6b6e0f16c6f5d1ec96cff1344973808c86311898 /source4/librpc/idl/srvsvc.idl
parentdf036e08294ec98a2c7049f7f2fe03de1fd2ae44 (diff)
downloadsamba-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/srvsvc.idl')
-rw-r--r--source4/librpc/idl/srvsvc.idl44
1 files changed, 22 insertions, 22 deletions
diff --git a/source4/librpc/idl/srvsvc.idl b/source4/librpc/idl/srvsvc.idl
index 8abc67d076..d7210eef1e 100644
--- a/source4/librpc/idl/srvsvc.idl
+++ b/source4/librpc/idl/srvsvc.idl
@@ -22,7 +22,7 @@
typedef struct {
uint32 count;
- [size_is(count)] srvsvc_NetCharDevInfo0 *array;
+ [size_is(count)] srvsvc_NetCharDevInfo0 *array[];
} srvsvc_NetCharDevCtr0;
typedef struct {
@@ -34,7 +34,7 @@
typedef struct {
uint32 count;
- [size_is(count)] srvsvc_NetCharDevInfo1 *array;
+ [size_is(count)] srvsvc_NetCharDevInfo1 *array[];
} srvsvc_NetCharDevCtr1;
typedef union {
@@ -86,7 +86,7 @@
typedef struct {
uint32 count;
- [size_is(count)] srvsvc_NetCharDevQInfo0 *array;
+ [size_is(count)] srvsvc_NetCharDevQInfo0 *array[];
} srvsvc_NetCharDevQCtr0;
typedef struct {
@@ -99,7 +99,7 @@
typedef struct {
uint32 count;
- [size_is(count)] srvsvc_NetCharDevQInfo1 *array;
+ [size_is(count)] srvsvc_NetCharDevQInfo1 *array[];
} srvsvc_NetCharDevQCtr1;
typedef union {
@@ -170,7 +170,7 @@
typedef struct {
uint32 count;
- [size_is(count)] srvsvc_NetConnInfo0 *array;
+ [size_is(count)] srvsvc_NetConnInfo0 *array[];
} srvsvc_NetConnCtr0;
typedef struct {
@@ -185,7 +185,7 @@
typedef struct {
uint32 count;
- [size_is(count)] srvsvc_NetConnInfo1 *array;
+ [size_is(count)] srvsvc_NetConnInfo1 *array[];
} srvsvc_NetConnCtr1;
typedef union {
@@ -215,7 +215,7 @@
typedef struct {
uint32 count;
- [size_is(count)] srvsvc_NetFileInfo2 *array;
+ [size_is(count)] srvsvc_NetFileInfo2 *array[];
} srvsvc_NetFileCtr2;
typedef struct {
@@ -228,7 +228,7 @@
typedef struct {
uint32 count;
- [size_is(count)] srvsvc_NetFileInfo3 *array;
+ [size_is(count)] srvsvc_NetFileInfo3 *array[];
} srvsvc_NetFileCtr3;
typedef union {
@@ -281,7 +281,7 @@
typedef struct {
uint32 count;
- [size_is(count)] srvsvc_NetSessInfo0 *array;
+ [size_is(count)] srvsvc_NetSessInfo0 *array[];
} srvsvc_NetSessCtr0;
typedef struct {
@@ -295,7 +295,7 @@
typedef struct {
uint32 count;
- [size_is(count)] srvsvc_NetSessInfo1 *array;
+ [size_is(count)] srvsvc_NetSessInfo1 *array[];
} srvsvc_NetSessCtr1;
typedef struct {
@@ -310,7 +310,7 @@
typedef struct {
uint32 count;
- [size_is(count)] srvsvc_NetSessInfo2 *array;
+ [size_is(count)] srvsvc_NetSessInfo2 *array[];
} srvsvc_NetSessCtr2;
typedef struct {
@@ -322,7 +322,7 @@
typedef struct {
uint32 count;
- [size_is(count)] srvsvc_NetSessInfo10 *array;
+ [size_is(count)] srvsvc_NetSessInfo10 *array[];
} srvsvc_NetSessCtr10;
typedef struct {
@@ -338,7 +338,7 @@
typedef struct {
uint32 count;
- [size_is(count)] srvsvc_NetSessInfo502 *array;
+ [size_is(count)] srvsvc_NetSessInfo502 *array[];
} srvsvc_NetSessCtr502;
typedef union {
@@ -400,7 +400,7 @@
typedef struct {
uint32 count;
- [size_is(count)] srvsvc_NetShareInfo0 *array;
+ [size_is(count)] srvsvc_NetShareInfo0 *array[];
} srvsvc_NetShareCtr0;
typedef struct {
@@ -411,7 +411,7 @@
typedef struct {
uint32 count;
- [size_is(count)] srvsvc_NetShareInfo1 *array;
+ [size_is(count)] srvsvc_NetShareInfo1 *array[];
} srvsvc_NetShareCtr1;
typedef struct {
@@ -427,7 +427,7 @@
typedef struct {
uint32 count;
- [size_is(count)] srvsvc_NetShareInfo2 *array;
+ [size_is(count)] srvsvc_NetShareInfo2 *array[];
} srvsvc_NetShareCtr2;
typedef struct {
@@ -439,7 +439,7 @@
typedef struct {
uint32 count;
- [size_is(count)] srvsvc_NetShareInfo501 *array;
+ [size_is(count)] srvsvc_NetShareInfo501 *array[];
} srvsvc_NetShareCtr501;
typedef struct {
@@ -457,7 +457,7 @@
typedef struct {
uint32 count;
- [size_is(count)] srvsvc_NetShareInfo502 *array;
+ [size_is(count)] srvsvc_NetShareInfo502 *array[];
} srvsvc_NetShareCtr502;
typedef struct {
@@ -1081,7 +1081,7 @@
typedef struct {
uint32 count;
- [size_is(count)] srvsvc_NetTransportInfo0 *array;
+ [size_is(count)] srvsvc_NetTransportInfo0 *array[];
} srvsvc_NetTransportCtr0;
typedef struct {
@@ -1095,7 +1095,7 @@
typedef struct {
uint32 count;
- [size_is(count)] srvsvc_NetTransportInfo1 *array;
+ [size_is(count)] srvsvc_NetTransportInfo1 *array[];
} srvsvc_NetTransportCtr1;
typedef struct {
@@ -1104,7 +1104,7 @@
typedef struct {
uint32 count;
- [size_is(count)] srvsvc_NetTransportInfo2 *array;
+ [size_is(count)] srvsvc_NetTransportInfo2 *array[];
} srvsvc_NetTransportCtr2;
typedef struct {
@@ -1113,7 +1113,7 @@
typedef struct {
uint32 count;
- [size_is(count)] srvsvc_NetTransportInfo3 *array;
+ [size_is(count)] srvsvc_NetTransportInfo3 *array[];
} srvsvc_NetTransportCtr3;
typedef union {