#ifndef SQUID_DNS_H #define SQUID_DNS_H #if USE_DNSHELPER #include "helper.h" #endif namespace Ip { class Address; } // generic DNS API void dnsInit(void); void dnsShutdown(void); #if USE_DNSHELPER // external DNS helper API void dnsSubmit(const char *lookup, HLPCB * callback, void *data); #else // internal DNS client API void idnsALookup(const char *, IDNSCB *, void *); void idnsPTRLookup(const Ip::Address &, IDNSCB *, void *); #endif #endif /* SQUID_DNS_H */