summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2013-05-25 14:05:22 +0200
committerMichael Adam <obnox@samba.org>2013-05-26 20:05:38 +0200
commit9c7015ecaacff859c7ba94ccadd49b4e9a5cd002 (patch)
treed61c12fc32509346b9fbcbaa22e51051e5802cb7 /librpc/idl
parent96ed585f09efdad2b5e6ab7918966b1453154d71 (diff)
downloadsamba-9c7015ecaacff859c7ba94ccadd49b4e9a5cd002.tar.gz
samba-9c7015ecaacff859c7ba94ccadd49b4e9a5cd002.tar.bz2
samba-9c7015ecaacff859c7ba94ccadd49b4e9a5cd002.zip
idl: Add DNS HINFO record support
Not sure if we need this, bug samba.org specifies it, so this can cause ANY queries against samba.org to fail. Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Sun May 26 20:05:38 CEST 2013 on sn-devel-104
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/dns.idl8
1 files changed, 8 insertions, 0 deletions
diff --git a/librpc/idl/dns.idl b/librpc/idl/dns.idl
index 5fc4ba4448..d247e0e67d 100644
--- a/librpc/idl/dns.idl
+++ b/librpc/idl/dns.idl
@@ -152,6 +152,13 @@ interface dns
} dns_soa_record;
typedef [public] struct {
+ [value(strlen(cpu))] uint8 cpu_length;
+ [charset(DOS)] uint8 cpu[cpu_length];
+ [value(strlen(os))] uint8 os_length;
+ [charset(DOS)] uint8 os[os_length];
+ } dns_hinfo_record;
+
+ typedef [public] struct {
uint16 preference;
dns_string exchange;
} dns_mx_record;
@@ -225,6 +232,7 @@ interface dns
[case(DNS_QTYPE_CNAME)] dns_string cname_record;
[case(DNS_QTYPE_SOA)] dns_soa_record soa_record;
[case(DNS_QTYPE_PTR)] dns_string ptr_record;
+ [case(DNS_QTYPE_HINFO)] dns_hinfo_record hinfo_record;
[case(DNS_QTYPE_MX)] dns_mx_record mx_record;
[case(DNS_QTYPE_TXT)] dns_txt_record txt_record;
[case(DNS_QTYPE_RP)] dns_rp_record rp_record;