summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-08-16 21:22:52 +0200
committerKai Blin <kai@samba.org>2010-10-04 19:41:38 +0000
commitb5f2633f7aca375c597a88bcb061563c94efb7ca (patch)
tree99ee9368ae9bb6b001298a0530f99632456568e8
parent65d2cfdcf1517b2e99df0556eb5bcfbc0c49a453 (diff)
downloadsamba-b5f2633f7aca375c597a88bcb061563c94efb7ca.tar.gz
samba-b5f2633f7aca375c597a88bcb061563c94efb7ca.tar.bz2
samba-b5f2633f7aca375c597a88bcb061563c94efb7ca.zip
dnsp: Add support for parsing HINFO records
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Mon Oct 4 19:41:38 UTC 2010 on sn-devel-104
-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 af904d09c1..7c013db514 100644
--- a/librpc/idl/dnsp.idl
+++ b/librpc/idl/dnsp.idl
@@ -81,6 +81,11 @@ interface dnsp
} dnsp_mx;
typedef [public] struct {
+ dnsp_string cpu;
+ dnsp_string os;
+ } dnsp_hinfo;
+
+ typedef [public] struct {
uint16 wPriority;
uint16 wWeight;
uint16 wPort;
@@ -95,6 +100,7 @@ interface dnsp
[case(DNS_TYPE_MX)] [flag(NDR_BIG_ENDIAN)] dnsp_mx mx;
[case(DNS_TYPE_TXT)] dnsp_string txt;
[case(DNS_TYPE_PTR)] dnsp_name ptr;
+ [case(DNS_TYPE_HINFO)] dnsp_hinfo hinfo;
[case(DNS_TYPE_AAAA)] ipv6address ip;
[case(DNS_TYPE_SRV)] [flag(NDR_BIG_ENDIAN)] dnsp_srv srv;
[default] [flag(NDR_REMAINING)] DATA_BLOB data;