diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-07-16 08:53:20 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:57:39 -0500 |
commit | 84735e42d4e025ad0080ebac4a166565798b6fec (patch) | |
tree | 487c1b7e8b4adc1b64e7e5f4d6fe30d61ed3217c | |
parent | c0f6a5186b6e05ee6f1b2af6f4d04e3acd5a586a (diff) | |
download | samba-84735e42d4e025ad0080ebac4a166565798b6fec.tar.gz samba-84735e42d4e025ad0080ebac4a166565798b6fec.tar.bz2 samba-84735e42d4e025ad0080ebac4a166565798b6fec.zip |
r1525: share info level 1004 is invalid,
but is not the same as the default case
metze
(This used to be commit 5fe88379ad2de0a346bb7155e74eb00cfa3ef44c)
-rw-r--r-- | source4/librpc/idl/srvsvc.idl | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/source4/librpc/idl/srvsvc.idl b/source4/librpc/idl/srvsvc.idl index 236d99a8b8..2f1a85be50 100644 --- a/source4/librpc/idl/srvsvc.idl +++ b/source4/librpc/idl/srvsvc.idl @@ -440,20 +440,25 @@ } srvsvc_NetShareInfo502; typedef struct { - uint32 dfs_flags; - } srvsvc_NetShareInfo1005; - - typedef struct { uint32 count; [size_is(count)] srvsvc_NetShareInfo502 *array; } srvsvc_NetShareCtr502; + typedef struct { + uint32 dummy; + } srvsvc_NetShareInfo1004; + + typedef struct { + uint32 dfs_flags; + } srvsvc_NetShareInfo1005; + typedef union { [case(0)] srvsvc_NetShareInfo0 *info0; [case(1)] srvsvc_NetShareInfo1 *info1; [case(2)] srvsvc_NetShareInfo2 *info2; [case(501)] srvsvc_NetShareInfo501 *info501; [case(502)] srvsvc_NetShareInfo502 *info502; + [case(1004)] srvsvc_NetShareInfo1004 *info1004; [case(1005)] srvsvc_NetShareInfo1005 *info1005; [default] ; } srvsvc_NetShareInfo; |