]> git.ipfire.org Git - thirdparty/squid.git/blame - src/fqdncache.h
Remove no longer needed includes of typedefs.h
[thirdparty/squid.git] / src / fqdncache.h
CommitLineData
fc54b8d2 1/*
bde978a6 2 * Copyright (C) 1996-2015 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
16class StoreEntry;
17class wordlist;
23032e75
FC
18namespace Dns
19{
20class LookupDetails;
21}
22
23typedef void FQDNH(const char *, const Dns::LookupDetails &details, void *);
fc54b8d2 24
8a648e8d 25void fqdncache_init(void);
fc54b8d2 26void fqdnStats(StoreEntry *);
8a648e8d
FC
27void fqdncacheFreeMemory(void);
28void fqdncache_restart(void);
29void fqdncache_purgelru(void *);
30void fqdncacheAddEntryFromHosts(char *addr, wordlist * hostnames);
fc54b8d2 31
8a648e8d 32const char *fqdncache_gethostbyaddr(const Ip::Address &, int flags);
8a648e8d 33void fqdncache_nbgethostbyaddr(const Ip::Address &, FQDNH *, void *);
fc54b8d2 34
fc54b8d2 35#endif /* SQUID_FQDNCACHE_H_ */
f53969cc 36