summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-08-09 07:26:16 +0200
committerKai Blin <kai@samba.org>2010-10-04 20:59:59 +0200
commit10a4ea7219bb8a1b880b1f0ae4fb39b5f479bab3 (patch)
tree3a2046955d4507861f6448998c63dfd5d4932059 /librpc
parent6320cface96baba061b4d097ddbd17d63c663346 (diff)
downloadsamba-10a4ea7219bb8a1b880b1f0ae4fb39b5f479bab3.tar.gz
samba-10a4ea7219bb8a1b880b1f0ae4fb39b5f479bab3.tar.bz2
samba-10a4ea7219bb8a1b880b1f0ae4fb39b5f479bab3.zip
IDL: More types for the DNSP IDL file
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/dnsp.idl25
1 files changed, 23 insertions, 2 deletions
diff --git a/librpc/idl/dnsp.idl b/librpc/idl/dnsp.idl
index 1f0629c48a..5c9ceeb8da 100644
--- a/librpc/idl/dnsp.idl
+++ b/librpc/idl/dnsp.idl
@@ -64,9 +64,30 @@ interface dnsp
DNS_TYPE_WINSR = 0xFF02
} dns_record_type;
+ typedef [public] struct {
+ uint32 serial;
+ uint32 refresh;
+ uint32 retry;
+ uint32 expire;
+ uint32 minimum;
+ dnsp_name mname;
+ dnsp_name rname;
+ } dnsp_soa;
+
+ typedef [public] struct {
+ uint16 wPriority;
+ uint16 wWeight;
+ uint16 wPort;
+ dnsp_name nameTarget;
+ } dnsp_srv;
+
typedef [nodiscriminant] union {
- [case(DNS_TYPE_A)] [flag(NDR_BIG_ENDIAN)] ipv4address ip;
- [case(DNS_TYPE_NS)] dnsp_name ns;
+ [case(DNS_TYPE_A)] [flag(NDR_BIG_ENDIAN)] ipv4address ip;
+ [case(DNS_TYPE_NS)] dnsp_name ns;
+ [case(DNS_TYPE_CNAME)] dnsp_name cname;
+ [case(DNS_TYPE_SOA)] [flag(NDR_BIG_ENDIAN)] dnsp_soa soa;
+ [case(DNS_TYPE_PTR)] dnsp_name ptr;
+ [case(DNS_TYPE_SRV)] [flag(NDR_BIG_ENDIAN)] dnsp_srv srv;
[default] [flag(NDR_REMAINING)] DATA_BLOB data;
} dnsRecordData;