]> git.ipfire.org Git - thirdparty/squid.git/blob - src/fqdncache.h
Merged from trunk
[thirdparty/squid.git] / src / fqdncache.h
1 /*
2 * Copyright (C) 1996-2014 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 /* DEBUG: section 35 FQDN Cache */
10
11 #ifndef SQUID_FQDNCACHE_H_
12 #define SQUID_FQDNCACHE_H_
13
14 #include "ip/Address.h"
15 #include "typedefs.h"
16
17 class StoreEntry;
18 class wordlist;
19
20 void fqdncache_init(void);
21 void fqdnStats(StoreEntry *);
22 void fqdncacheFreeMemory(void);
23 void fqdncache_restart(void);
24 void fqdncache_purgelru(void *);
25 void fqdncacheAddEntryFromHosts(char *addr, wordlist * hostnames);
26
27 const char *fqdncache_gethostbyaddr(const Ip::Address &, int flags);
28 void fqdncache_nbgethostbyaddr(const Ip::Address &, FQDNH *, void *);
29
30 #endif /* SQUID_FQDNCACHE_H_ */
31