summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-11-07 18:21:12 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:44:43 +0100
commit8f22cf4c26fd2b776a90be823fbcdd12efc7cbef (patch)
tree8f3beaa59d764b67e3b0ff5221baa9632c53f696 /source4
parent523445cdaa118fd9cb61d63d1a71a0762b98cdcf (diff)
downloadsamba-8f22cf4c26fd2b776a90be823fbcdd12efc7cbef.tar.gz
samba-8f22cf4c26fd2b776a90be823fbcdd12efc7cbef.tar.bz2
samba-8f22cf4c26fd2b776a90be823fbcdd12efc7cbef.zip
r25894: Add IDL for netr_DsRAddressToSitenamesW and netr_DsRAddressToSitenamesExW.
Guenther (This used to be commit ee797e18c7c970d78dfc7f2592f9598003e72d60)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/netlogon.idl30
1 files changed, 28 insertions, 2 deletions
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 */