From 8f22cf4c26fd2b776a90be823fbcdd12efc7cbef Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 7 Nov 2007 18:21:12 +0100 Subject: r25894: Add IDL for netr_DsRAddressToSitenamesW and netr_DsRAddressToSitenamesExW. Guenther (This used to be commit ee797e18c7c970d78dfc7f2592f9598003e72d60) --- source4/librpc/idl/netlogon.idl | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) (limited to 'source4/librpc') diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl index c4998273fe..9ed5210f4e 100644 --- a/source4/librpc/idl/netlogon.idl +++ b/source4/librpc/idl/netlogon.idl @@ -1116,7 +1116,22 @@ interface netlogon /****************/ /* Function 0x21 */ - WERROR netr_DSRADDRESSTOSITENAMESW(); + typedef struct { + uint32 count; + [size_is(count)] lsa_String *sitename; + } netr_DsRAddressToSitenamesWCtr; + + typedef struct { + [size_is(size)] uint8 *buffer; + uint32 size; + } netr_DsRAddress; + + WERROR netr_DsRAddressToSitenamesW( + [in] [string,charset(UTF16)] uint16 *server_name, + [in] [range(0,32000)] uint32 count, + [in] [size_is(count)] [ref] netr_DsRAddress *addresses, + [out] [ref] netr_DsRAddressToSitenamesWCtr **ctr + ); /****************/ /* Function 0x22 */ @@ -1141,7 +1156,18 @@ interface netlogon /****************/ /* Function 0x25 */ - WERROR netr_DSRADDRESSTOSITENAMESEXW(); + typedef struct { + uint32 count; + [size_is(count)] lsa_String *sitename; + [size_is(count)] lsa_String *subnetname; + } netr_DsRAddressToSitenamesExWCtr; + + WERROR netr_DsRAddressToSitenamesExW( + [in] [string,charset(UTF16)] uint16 *server_name, + [in] [range(0,32000)] uint32 count, + [in] [size_is(count)] [ref] netr_DsRAddress *addresses, + [out] [ref] netr_DsRAddressToSitenamesExWCtr **ctr + ); /****************/ /* Function 0x26 */ -- cgit