diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-20 05:34:02 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-20 05:34:02 +0000 |
commit | a6e5654b3dbfcefde863dead8031630ae476b5b9 (patch) | |
tree | 8e19d05481a4e820da9ee608858ebd60698656a7 /source4/librpc/idl | |
parent | 4730469cd87b5c19d0c7e8da9194f3c8f6fb8d24 (diff) | |
download | samba-a6e5654b3dbfcefde863dead8031630ae476b5b9.tar.gz samba-a6e5654b3dbfcefde863dead8031630ae476b5b9.tar.bz2 samba-a6e5654b3dbfcefde863dead8031630ae476b5b9.zip |
fixed srvsvc_NetShareEnumAll()
(This used to be commit ab4056e25ccfde5136ff3a1cd5d1efa78f1eee1b)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r-- | source4/librpc/idl/srvsvc.idl | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/source4/librpc/idl/srvsvc.idl b/source4/librpc/idl/srvsvc.idl index 31399520c0..530b19d6cf 100644 --- a/source4/librpc/idl/srvsvc.idl +++ b/source4/librpc/idl/srvsvc.idl @@ -314,28 +314,22 @@ unistr *comment; } srvsvc_NetShare1004; - typedef struct { - uint32 count; - [size_is(count)] srvsvc_NetShare1004 *array; - } srvsvc_NetShareCtr1004; - typedef union { [case(0)] srvsvc_NetShareCtr0 *ctr0; [case(1)] srvsvc_NetShareCtr1 *ctr1; [case(2)] srvsvc_NetShareCtr2 *ctr2; [case(501)] srvsvc_NetShareCtr501 *ctr501; [case(502)] srvsvc_NetShareCtr502 *ctr502; - [case(1004)] srvsvc_NetShareCtr1004 *ctr1004; [default] ; - } srvsvc_NetShareCtr; + } srvsvc_NetShareUnion; - WERROR srvsvc_NetShareEnumAll( - [in] unistr *server_unc, - [in,out] uint32 level, - [in,out,switch_is(level)] srvsvc_NetShareCtr ctr, - [in] uint32 preferred_len, - [out] uint32 totalentries, - [in,out] uint32 *resume_handle + WERROR srvsvc_NetShareEnumAll ( + [in] unistr *server_unc, + [in,out] uint32 level, + [in,out,switch_is(level)] srvsvc_NetShareUnion ctr, + [in] uint32 max_buffer, + [out] uint32 totalentries, + [in,out] uint32 *resume_handle ); /******************/ @@ -561,7 +555,7 @@ WERROR srvsvc_NetShareEnum( [in] unistr *server_unc, [in,out] uint32 level, - [in,out,switch_is(level)] srvsvc_NetShareCtr ctr, + [in,out,switch_is(level)] srvsvc_NetShareUnion ctr, [in] uint32 preferred_len, [out] uint32 totalentries, [in,out] uint32 *resume_handle |