From 76f440cff73878a7359e944618a7722dfd23bdec Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 2 Jun 2014 05:00:48 -0400 Subject: remove cruft from old resolver and numeric ip parsing the old resolver code used a function __ipparse which contained the logic for inet_addr and inet_aton, which is needed in getaddrinfo. this was phased out in the resolver overhaul in favor of directly using inet_aton and inet_pton as appropriate. this commit cleans up some stuff that was left behind. --- src/network/__dns.h | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 src/network/__dns.h (limited to 'src/network/__dns.h') diff --git a/src/network/__dns.h b/src/network/__dns.h deleted file mode 100644 index 9a3f7402..00000000 --- a/src/network/__dns.h +++ /dev/null @@ -1,14 +0,0 @@ -#include - -#define RR_A 1 -#define RR_CNAME 5 -#define RR_PTR 12 -#define RR_AAAA 28 - -int __dns_count_addrs(const unsigned char *, int); -int __dns_get_rr(void *, size_t, size_t, size_t, const unsigned char *, int, int); - -int __dns_query(unsigned char *, const void *, int, int); -int __ipparse(void *, int, const char *); - -int __dns_doqueries(unsigned char *, const char *, int *, int); -- cgit 1.4.1