diff options
author | Günther Deschner <gd@samba.org> | 2007-05-30 09:54:19 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:53:06 -0500 |
commit | 4d1a21f24d9d2f4326e380cadb24c842c2dfb688 (patch) | |
tree | 20e5881c53b37515862256e48ee6ce7af3972feb /source4/librpc | |
parent | dd64de3d5beeeca870a94f4fb8bbc4d094bbe989 (diff) | |
download | samba-4d1a21f24d9d2f4326e380cadb24c842c2dfb688.tar.gz samba-4d1a21f24d9d2f4326e380cadb24c842c2dfb688.tar.bz2 samba-4d1a21f24d9d2f4326e380cadb24c842c2dfb688.zip |
r23239: Fill in drsuapi_QuerySitesByCost.
Guenther
(This used to be commit cf953d04813d193da5e9714ceebb7826dc7e4d0b)
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/idl/drsuapi.idl | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/source4/librpc/idl/drsuapi.idl b/source4/librpc/idl/drsuapi.idl index f23914f8de..e8fbc85f29 100644 --- a/source4/librpc/idl/drsuapi.idl +++ b/source4/librpc/idl/drsuapi.idl @@ -1457,5 +1457,37 @@ interface drsuapi /*****************/ /* Function 0x18 */ - WERROR DRSUAPI_QUERY_SITES_BY_COST(); + typedef struct { + WERROR error_code; + uint32 site_cost; + } drsuapi_DsSiteCostInfo; + + typedef struct { + [range(0,10000)] uint32 num_info; + [size_is(num_info)] drsuapi_DsSiteCostInfo *info; + uint32 unknown; + } drsuapi_QuerySitesByCostCtr1; + + typedef [switch_type(int32)] union { + [case(1)] drsuapi_QuerySitesByCostCtr1 ctr1; + } drsuapi_QuerySitesByCostCtr; + + typedef struct { + [charset(UTF16),string] uint16 *site_from; + [range(1,10000)] uint32 num_req; + [size_is(num_req)] [charset(UTF16),string] uint16 **site_to; + uint32 flags; + } drsuapi_QuerySitesByCostRequest1; + + typedef [switch_type(int32)] union { + [case(1)] drsuapi_QuerySitesByCostRequest1 req1; + } drsuapi_QuerySitesByCostRequest; + + WERROR drsuapi_QuerySitesByCost( + [in] policy_handle *bind_handle, + [in] int32 level, + [in] [switch_is(level)] drsuapi_QuerySitesByCostRequest req, + [out] int32 level_out, + [out] [switch_is(level_out)] drsuapi_QuerySitesByCostCtr ctr + ); } |