From 281a0c609de803b5e5e022cf0a18b4548a1ea2ea Mon Sep 17 00:00:00 2001 From: James Brister Date: Sat, 29 Jan 2000 00:00:42 +0000 Subject: [PATCH] Stripped some dead code. Move typesdefs here from elsewhere to avoid circular include file dependencies. --- lib/dns/include/dns/confcommon.h | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/lib/dns/include/dns/confcommon.h b/lib/dns/include/dns/confcommon.h index 6a9ec04e66..7479c4278d 100644 --- a/lib/dns/include/dns/confcommon.h +++ b/lib/dns/include/dns/confcommon.h @@ -232,25 +232,11 @@ typedef enum { */ typedef isc_int64_t dns_c_setbits_t; - -/* XXX This should be moved to a more general (non-config specific) place */ -/* An IP address. We support IPv4 and IPv6 addresses together so we wrap - them up in this strcture*/ -#if 0 - -typedef struct dns_c_addr { - int a_family; /* AF_INET or AF_INET6 */ - union { - struct in_addr a; /* if a_family == AF_INET */ - struct in6_addr a6; /* if a_family == AF_INET6 */ - } u; -} dns_c_addr_t; - -#else - typedef isc_sockaddr_t dns_c_addr_t; -#endif + +typedef struct dns_c_view dns_c_view_t; +typedef struct dns_c_zone_list dns_c_zonelist_t; /* @@ -262,11 +248,6 @@ typedef isc_sockaddr_t dns_c_addr_t; extern isc_boolean_t debug_mem_print; extern FILE *debug_mem_print_stream; /* NULL means stderr */ -#if 0 /* XXXJAB remove this code. */ -typedef void (*dns_cfg_err_handler_t)(isc_result_t code, - const char *fmt, va_list args); -#endif - /*** *** Functions