]>
Commit | Line | Data |
---|---|---|
fc54b8d2 | 1 | /* |
ef57eb7b | 2 | * Copyright (C) 1996-2016 The Squid Software Foundation and contributors |
fc54b8d2 | 3 | * |
bbc27441 AJ |
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. | |
fc54b8d2 FC |
7 | */ |
8 | ||
bbc27441 AJ |
9 | /* DEBUG: section 35 FQDN Cache */ |
10 | ||
fc54b8d2 FC |
11 | #ifndef SQUID_FQDNCACHE_H_ |
12 | #define SQUID_FQDNCACHE_H_ | |
13 | ||
14 | #include "ip/Address.h" | |
fc54b8d2 FC |
15 | |
16 | class StoreEntry; | |
17 | class wordlist; | |
23032e75 FC |
18 | namespace Dns |
19 | { | |
20 | class LookupDetails; | |
21 | } | |
22 | ||
23 | typedef void FQDNH(const char *, const Dns::LookupDetails &details, void *); | |
fc54b8d2 | 24 | |
8a648e8d | 25 | void fqdncache_init(void); |
fc54b8d2 | 26 | void fqdnStats(StoreEntry *); |
8a648e8d FC |
27 | void fqdncacheFreeMemory(void); |
28 | void fqdncache_restart(void); | |
29 | void fqdncache_purgelru(void *); | |
30 | void fqdncacheAddEntryFromHosts(char *addr, wordlist * hostnames); | |
fc54b8d2 | 31 | |
8a648e8d | 32 | const char *fqdncache_gethostbyaddr(const Ip::Address &, int flags); |
8a648e8d | 33 | void fqdncache_nbgethostbyaddr(const Ip::Address &, FQDNH *, void *); |
fc54b8d2 | 34 | |
fc54b8d2 | 35 | #endif /* SQUID_FQDNCACHE_H_ */ |
f53969cc | 36 |