aboutsummaryrefslogtreecommitdiff
path: root/resolv/arpa
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-09-21 16:27:14 +0200
committerFlorian Weimer <fweimer@redhat.com>2016-09-21 16:27:14 +0200
commitbe728303a6bcf7d2cf8d6c6ccc56d98d65309b81 (patch)
tree2444de3bdb4a14b7647b00c7b2aa0094063fac2b /resolv/arpa
parent006768c72aba96d4679af1483ec0a07262c25b29 (diff)
downloadglibc-be728303a6bcf7d2cf8d6c6ccc56d98d65309b81.zip
glibc-be728303a6bcf7d2cf8d6c6ccc56d98d65309b81.tar.gz
glibc-be728303a6bcf7d2cf8d6c6ccc56d98d65309b81.tar.bz2
<arpa/nameser.h>: 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.
Diffstat (limited to 'resolv/arpa')
-rw-r--r--resolv/arpa/nameser.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/resolv/arpa/nameser.h b/resolv/arpa/nameser.h
index f11b9f0..a866ce8 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
*/