summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-08-12 15:46:42 +0200
committerKai Blin <kai@samba.org>2010-10-04 20:59:59 +0200
commitda21f78099884ce425dfbb99c8c246f6fcd98a3a (patch)
treeaf9e170ac42bc888231f1d296612f8526e7b587a /librpc
parent8ff715c3d9ca2d6cc8880fa3040b1d1dbc942590 (diff)
downloadsamba-da21f78099884ce425dfbb99c8c246f6fcd98a3a.tar.gz
samba-da21f78099884ce425dfbb99c8c246f6fcd98a3a.tar.bz2
samba-da21f78099884ce425dfbb99c8c246f6fcd98a3a.zip
dnsp: Add MX record parsing
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/dnsp.idl6
1 files changed, 6 insertions, 0 deletions
diff --git a/librpc/idl/dnsp.idl b/librpc/idl/dnsp.idl
index 7a6e2d416e..a4a175aea4 100644
--- a/librpc/idl/dnsp.idl
+++ b/librpc/idl/dnsp.idl
@@ -75,6 +75,11 @@ interface dnsp
} dnsp_soa;
typedef [public] struct {
+ uint16 wPriority;
+ dnsp_name nameTarget;
+ } dnsp_mx;
+
+ typedef [public] struct {
uint16 wPriority;
uint16 wWeight;
uint16 wPort;
@@ -86,6 +91,7 @@ interface dnsp
[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_MX)] [flag(NDR_BIG_ENDIAN)] dnsp_mx mx;
[case(DNS_TYPE_PTR)] dnsp_name ptr;
[case(DNS_TYPE_AAAA)] ipv6address ip;
[case(DNS_TYPE_SRV)] [flag(NDR_BIG_ENDIAN)] dnsp_srv srv;