]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/fqdncache.h
2 * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
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.
9 /* DEBUG: section 35 FQDN Cache */
11 #ifndef SQUID_FQDNCACHE_H_
12 #define SQUID_FQDNCACHE_H_
14 #include "ip/Address.h"
24 typedef void FQDNH(const char *, const Dns::LookupDetails
&details
, void *);
26 void fqdncache_init(void);
27 void fqdnStats(StoreEntry
*);
28 void fqdncacheFreeMemory(void);
29 void fqdncache_restart(void);
30 void fqdncache_purgelru(void *);
31 void fqdncacheAddEntryFromHosts(char *addr
, wordlist
* hostnames
);
33 const char *fqdncache_gethostbyaddr(const Ip::Address
&, int flags
);
34 void fqdncache_nbgethostbyaddr(const Ip::Address
&, FQDNH
*, void *);
36 #endif /* SQUID_FQDNCACHE_H_ */