stub_fqdncache.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2023 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 #include "squid.h"
10 #include "fqdncache.h"
11 
12 #define STUB_API "fqdncache.cc"
13 #include "tests/STUB.h"
14 
16 
17 void fqdncache_init(void) STUB
19 void fqdncache_restart(void) STUB
20 void fqdncache_purgelru(void *) STUB
22 const char *fqdncache_gethostbyaddr(const Ip::Address &, int) STUB_RETVAL(nullptr)
23 void fqdncache_nbgethostbyaddr(const Ip::Address &, FQDNH *, void *) STUB
void fqdnStats(StoreEntry *sentry)
Definition: fqdncache.cc:530
#define STUB_RETVAL(x)
Definition: STUB.h:42
std::list< SBuf > SBufList
Definition: forward.h:22
void fqdncache_init(void) STUB void fqdnStats(StoreEntry *) STUB void fqdncache_restart(void) STUB void fqdncache_purgelru(void *) STUB void fqdncacheAddEntryFromHosts(char *
Definition: fqdncache.cc:685
bool ResolveClientAddressesAsap
whether to do reverse DNS lookups for source IPs of accepted connections
Definition: fqdncache.cc:30
void fqdncacheAddEntryFromHosts(char *addr, SBufList &hostnames)
Definition: fqdncache.cc:636
const char * fqdncache_gethostbyaddr(const Ip::Address &addr, int flags)
Definition: fqdncache.cc:481
void fqdncache_purgelru(void *)
Definition: fqdncache.cc:200
#define STUB
macro to stub a void function.
Definition: STUB.h:34
void fqdncache_nbgethostbyaddr(const Ip::Address &addr, FQDNH *handler, void *handlerData)
Definition: fqdncache.cc:414
Definition: Xaction.cc:137
void fqdncache_restart(void)
Definition: fqdncache.cc:620
void FQDNH(const char *, const Dns::LookupDetails &details, void *)
Definition: fqdncache.h:26

 

Introduction

Documentation

Support

Miscellaneous