dns: Move the dns_srv_record to the correct place in the idl file
[amitay/samba.git] / librpc / idl / dns.idl
index 707e0d94da65c19a3c787cfb8344f61dce537926..08a1699c23ecca771eace250c9ba917cdcdfe550 100644 (file)
@@ -131,13 +131,6 @@ interface dns
                uint32     minimum;
        } dns_soa_record;
 
-       typedef [public] struct {
-               uint16     priority;
-               uint16     weight;
-               uint16     port;
-               dns_string target;
-       } dns_srv_record;
-
        typedef [public] struct {
                uint16     preference;
                dns_string exchange;
@@ -148,6 +141,13 @@ interface dns
                [charset(DOS)] uint8 txt[length];
        } dns_txt_record;
 
+       typedef [public] struct {
+               uint16     priority;
+               uint16     weight;
+               uint16     port;
+               dns_string target;
+       } dns_srv_record;
+
        typedef [nodiscriminant,public,flag(NDR_NOALIGN)] union {
                [case(DNS_QTYPE_A)]     ipv4address      ipv4_record;
                [case(DNS_QTYPE_NS)]    dns_string       ns_record;