Author: gd
Date: 2007-11-07 18:21:12 +0000 (Wed, 07 Nov 2007)
New Revision: 25894

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25894

Log:
Add IDL for netr_DsRAddressToSitenamesW and netr_DsRAddressToSitenamesExW.

Guenther

Modified:
   branches/SAMBA_4_0/source/librpc/idl/netlogon.idl


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/idl/netlogon.idl
===================================================================
--- branches/SAMBA_4_0/source/librpc/idl/netlogon.idl   2007-11-07 07:13:44 UTC 
(rev 25893)
+++ branches/SAMBA_4_0/source/librpc/idl/netlogon.idl   2007-11-07 18:21:12 UTC 
(rev 25894)
@@ -1116,8 +1116,23 @@
 
        /****************/
        /* 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 */
        WERROR netr_DsRGetDCNameEx2(
@@ -1141,8 +1156,19 @@
 
        /****************/
        /* 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 */
 

Reply via email to