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
17void fqdncache_init(void) STUB
19void fqdncache_restart(void) STUB
20void fqdncache_purgelru(void *) STUB
22const char *fqdncache_gethostbyaddr(const Ip::Address &, int) STUB_RETVAL(nullptr)
23void 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:636
void FQDNH(const char *, const Dns::LookupDetails &details, void *)
Definition: fqdncache.h:26
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
void fqdncache_purgelru(void *)
Definition: fqdncache.cc:200
const char * fqdncache_gethostbyaddr(const Ip::Address &addr, int flags)
Definition: fqdncache.cc:481
void fqdncache_nbgethostbyaddr(const Ip::Address &addr, FQDNH *handler, void *handlerData)
Definition: fqdncache.cc:414
void fqdncache_restart(void)
Definition: fqdncache.cc:620
void fqdnStats(StoreEntry *sentry)
Definition: fqdncache.cc:530
bool ResolveClientAddressesAsap
whether to do reverse DNS lookups for source IPs of accepted connections
Definition: fqdncache.cc:30
Definition: Xaction.cc:139
std::list< SBuf > SBufList
Definition: forward.h:23

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors