From db791262888a91d906526c6503e774117c5292f6 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Tue, 28 Feb 2012 15:06:12 +1100 Subject: idl: dnsp: Add dnsp_string_list data type for TXT DNS record --- librpc/idl/dnsp.idl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/librpc/idl/dnsp.idl b/librpc/idl/dnsp.idl index 258b3a2ba4..4c49001c85 100644 --- a/librpc/idl/dnsp.idl +++ b/librpc/idl/dnsp.idl @@ -193,6 +193,11 @@ interface dnsp dnsp_dns_addr AddrArray[AddrCount]; } dnsp_dns_addr_array; + typedef [public,nopull,nopush,noprint,gensize] struct { + uint8 count; + dnsp_string str[count]; + } dnsp_string_list; + typedef [nodiscriminant,gensize] union { [case(DNS_TYPE_TOMBSTONE)] NTTIME timestamp; [case(DNS_TYPE_A)] [flag(NDR_BIG_ENDIAN)] ipv4address ipv4; @@ -200,7 +205,7 @@ interface dnsp [case(DNS_TYPE_CNAME)] dnsp_name cname; [case(DNS_TYPE_SOA)] [flag(NDR_BIG_ENDIAN)] dnsp_soa soa; [case(DNS_TYPE_MX)] [flag(NDR_BIG_ENDIAN)] dnsp_mx mx; - [case(DNS_TYPE_TXT)] dnsp_string txt; + [case(DNS_TYPE_TXT)] dnsp_string_list txt; [case(DNS_TYPE_PTR)] dnsp_name ptr; [case(DNS_TYPE_HINFO)] dnsp_hinfo hinfo; [case(DNS_TYPE_AAAA)] ipv6address ipv6; -- cgit