]> git.ipfire.org Git - thirdparty/squid.git/blob - src/SquidDns.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / SquidDns.h
1 /*
2 * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9 #ifndef SQUID_DNS_H
10 #define SQUID_DNS_H
11
12 namespace Ip
13 {
14 class Address;
15 }
16
17 // generic DNS API
18 void dnsInit(void);
19 void dnsShutdown(void);
20
21 // internal DNS client API
22 void idnsALookup(const char *, IDNSCB *, void *);
23 void idnsPTRLookup(const Ip::Address &, IDNSCB *, void *);
24
25 #endif /* SQUID_DNS_H */
26