]> git.ipfire.org Git - thirdparty/squid.git/blame - src/fqdncache.h
Maintenance: bump astyle to 2.04 and quieten report
[thirdparty/squid.git] / src / fqdncache.h
CommitLineData
fc54b8d2 1/*
bbc27441 2 * Copyright (C) 1996-2014 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"
15#include "typedefs.h"
16
17class StoreEntry;
18class wordlist;
19
8a648e8d 20void fqdncache_init(void);
fc54b8d2 21void fqdnStats(StoreEntry *);
8a648e8d
FC
22void fqdncacheFreeMemory(void);
23void fqdncache_restart(void);
24void fqdncache_purgelru(void *);
25void fqdncacheAddEntryFromHosts(char *addr, wordlist * hostnames);
fc54b8d2 26
8a648e8d 27const char *fqdncache_gethostbyaddr(const Ip::Address &, int flags);
8a648e8d 28void fqdncache_nbgethostbyaddr(const Ip::Address &, FQDNH *, void *);
fc54b8d2 29
fc54b8d2 30#endif /* SQUID_FQDNCACHE_H_ */