2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Handle old <arpa/nameser.h> with old API

Define the types and classes we use from the new API.
This commit is contained in:
Mark Andrews
2023-03-30 10:49:13 +11:00
committed by Ondřej Surý
parent 8c475a1d31
commit 30b9ebfa2c

View File

@@ -31,6 +31,22 @@
#define LIBRPZ_LIB_OPEN 2
#include <dns/librpz.h>
#if __NAMESER < 19991006
/*
* If the new API is not available define the values we use.
*/
#define ns_c_in 1
#define ns_t_invalid 0
#define ns_t_a 1
#define ns_t_cname 5
#define ns_t_txt 16
#define ns_t_aaaa 28
#define ns_t_dname 39
#endif
#include "trpz.h"
#define NODE_FLAG_IPV6_ADDRESS 0x1