From be728303a6bcf7d2cf8d6c6ccc56d98d65309b81 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 21 Sep 2016 16:27:14 +0200 Subject: : Remove RR type classification macros [BZ #20592] The macros are no longer up-to-date, and the classification is not useful. In this particular case, removal without prior deprecation seems the right approach. --- resolv/arpa/nameser.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'resolv') diff --git a/resolv/arpa/nameser.h b/resolv/arpa/nameser.h index f11b9f0ec7..a866ce8973 100644 --- a/resolv/arpa/nameser.h +++ b/resolv/arpa/nameser.h @@ -283,17 +283,6 @@ typedef enum __ns_type { ns_t_max = 65536 } ns_type; -/* Exclusively a QTYPE? (not also an RTYPE) */ -#define ns_t_qt_p(t) (ns_t_xfr_p(t) || (t) == ns_t_any || \ - (t) == ns_t_mailb || (t) == ns_t_maila) -/* Some kind of meta-RR? (not a QTYPE, but also not an RTYPE) */ -#define ns_t_mrr_p(t) ((t) == ns_t_tsig || (t) == ns_t_opt) -/* Exclusively an RTYPE? (not also a QTYPE or a meta-RR) */ -#define ns_t_rr_p(t) (!ns_t_qt_p(t) && !ns_t_mrr_p(t)) -#define ns_t_udp_p(t) ((t) != ns_t_axfr && (t) != ns_t_zxfr) -#define ns_t_xfr_p(t) ((t) == ns_t_axfr || (t) == ns_t_ixfr || \ - (t) == ns_t_zxfr) - /*% * Values for class field */ -- cgit v1.2.3