stub_ipcache.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 "ipcache.h"
11 
12 #define STUB_API "ipcache.cc"
13 #include "tests/STUB.h"
14 
15 void ipcache_purgelru(void *) STUB
16 void ipcache_nbgethostbyname(const char *, IPH *, void *) STUB
17 const ipcache_addrs *ipcache_gethostbyname(const char *, int) STUB_RETVAL(nullptr)
18 void ipcacheInvalidate(const char *) STUB
19 void ipcacheInvalidateNegative(const char *) STUB
20 void ipcache_init(void) STUB
21 void ipcacheMarkBadAddr(const char *, const Ip::Address &) STUB
22 void ipcacheMarkGoodAddr(const char *, const Ip::Address &) STUB
23 void ipcache_restart(void) STUB
24 int ipcacheAddEntryFromHosts(const char *, const char *) STUB_RETVAL(-1)
25 
void ipcacheInvalidate(const char *name)
Definition: ipcache.cc:865
#define STUB_RETVAL(x)
Definition: STUB.h:42
void ipcacheInvalidateNegative(const char *name)
Definition: ipcache.cc:882
int ipcacheAddEntryFromHosts(const char *name, const char *ipaddr)
Definition: ipcache.cc:1126
void ipcache_restart(void)
Definition: ipcache.cc:1105
void IPH void *const STUB ipcache_addrs const Ip::Address &STUB void ipcacheMarkGoodAddr(const char *, const Ip::Address &) STUB void ipcache_restart(void) STUB int ipcacheAddEntryFromHosts(const char *
void ipcache_purgelru(void *) STUB void ipcache_nbgethostbyname(const char *
void ipcache_nbgethostbyname(const char *name, IPH *handler, void *handlerData)
Definition: ipcache.cc:609
#define STUB
macro to stub a void function.
Definition: STUB.h:34
Definition: Xaction.cc:137
void ipcache_init(void)
Definition: ipcache.cc:696
void ipcacheMarkBadAddr(const char *name, const Ip::Address &addr)
Definition: ipcache.cc:1069
void IPH void *const STUB ipcache_addrs * ipcache_gethostbyname(const char *, int) STUB_RETVAL(nullptr) void ipcacheInvalidate(const char *) STUB void ipcacheInvalidateNegative(const char *) STUB void ipcache_init(void) STUB void ipcacheMarkBadAddr(const char *
void IPH(const ipcache_addrs *, const Dns::LookupDetails &details, void *)
Definition: ipcache.h:227

 

Introduction

Documentation

Support

Miscellaneous