From 74493af86f953d209c57649178421929e8061c99 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 13 Jan 2011 11:10:27 +1100 Subject: s4-dns: renamed DNS_TYPE_ZERO to DNS_TYPE_TOMBSTONE we now know that these are tombstone records, with a timestamp Pair-Programmed-With: Andrew Bartlett --- librpc/idl/dnsp.idl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'librpc/idl/dnsp.idl') diff --git a/librpc/idl/dnsp.idl b/librpc/idl/dnsp.idl index 495a3e2af2..f8cf1d43be 100644 --- a/librpc/idl/dnsp.idl +++ b/librpc/idl/dnsp.idl @@ -24,7 +24,7 @@ import "misc.idl"; interface dnsp { typedef [enum16bit] enum { - DNS_TYPE_ZERO = 0x0, + DNS_TYPE_TOMBSTONE = 0x0, DNS_TYPE_A = 0x1, DNS_TYPE_NS = 0x2, DNS_TYPE_MD = 0x3, @@ -109,6 +109,7 @@ interface dnsp } dnsp_srv; typedef [nodiscriminant,gensize] union { + [case(DNS_TYPE_TOMBSTONE)] NTTIME timestamp; [case(DNS_TYPE_A)] [flag(NDR_BIG_ENDIAN)] ipv4address ipv4; [case(DNS_TYPE_NS)] dnsp_name ns; [case(DNS_TYPE_CNAME)] dnsp_name cname; -- cgit