idl: Add DNS HINFO record support
authorKai Blin <kai@samba.org>
Sat, 25 May 2013 12:05:22 +0000 (14:05 +0200)
committerMichael Adam <obnox@samba.org>
Sun, 26 May 2013 18:05:38 +0000 (20:05 +0200)
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

librpc/idl/dns.idl

index 5fc4ba444840dab165b0d70245df0115ecd83781..d247e0e67d59f9fbc7069b801cebb673eaaa2e34 100644 (file)
@@ -151,6 +151,13 @@ interface dns
                uint32     minimum;
        } 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;
@@ -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;