summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2012-02-28 15:06:12 +1100
committerAmitay Isaacs <amitay@gmail.com>2012-03-02 00:24:49 +1100
commitdb791262888a91d906526c6503e774117c5292f6 (patch)
tree4efdf61a3362d0e82aef80d4a67db1128a56f196
parentc46763419aac3165f0eafbbc786cc929129c5109 (diff)
downloadsamba-db791262888a91d906526c6503e774117c5292f6.tar.gz
samba-db791262888a91d906526c6503e774117c5292f6.tar.bz2
samba-db791262888a91d906526c6503e774117c5292f6.zip
idl: dnsp: Add dnsp_string_list data type for TXT DNS record
-rw-r--r--librpc/idl/dnsp.idl7
1 files changed, 6 insertions, 1 deletions
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;