stub_fqdncache.cc
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2022 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
17void fqdncache_init(void) STUB
20void fqdncache_restart(void) STUB
21void fqdncache_purgelru(void *) STUB
23const char *fqdncache_gethostbyaddr(const Ip::Address &, int) STUB_RETVAL(nullptr)
24void fqdncache_nbgethostbyaddr(const Ip::Address &, FQDNH *, void *) STUB
#define STUB
macro to stub a void function.
Definition: STUB.h:33
#define STUB_RETVAL(x)
Definition: STUB.h:41
void fqdncacheAddEntryFromHosts(char *addr, SBufList &hostnames)
Definition: fqdncache.cc:654
void FQDNH(const char *, const Dns::LookupDetails &details, void *)
Definition: fqdncache.h:26
void fqdncacheFreeMemory(void)
Definition: fqdncache.cc:623
void fqdncache_init(void) STUB void fqdnStats(StoreEntry *) STUB void fqdncacheFreeMemory(void) STUB void fqdncache_restart(void) STUB void fqdncache_purgelru(void *) STUB void fqdncacheAddEntryFromHosts(char *
Definition: fqdncache.cc:703
void fqdncache_purgelru(void *)
Definition: fqdncache.cc:201
const char * fqdncache_gethostbyaddr(const Ip::Address &addr, int flags)
Definition: fqdncache.cc:482
void fqdncache_nbgethostbyaddr(const Ip::Address &addr, FQDNH *handler, void *handlerData)
Definition: fqdncache.cc:415
void fqdncache_restart(void)
Definition: fqdncache.cc:638
void fqdnStats(StoreEntry *sentry)
Definition: fqdncache.cc:531
bool ResolveClientAddressesAsap
whether to do reverse DNS lookups for source IPs of accepted connections
Definition: fqdncache.cc:30
Definition: client_db.h:23
std::list< SBuf > SBufList
Definition: forward.h:23

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors