stub_ipcache.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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 "STUB.h"
14 
15 void ipcache_purgelru(void *) STUB
16 void ipcache_nbgethostbyname(const char *name, IPH * handler, void *handlerData) STUB
17 const ipcache_addrs *ipcache_gethostbyname(const char *, int flags) STUB_RETVAL(NULL)
18 void ipcacheInvalidate(const char *) STUB
19 void ipcacheInvalidateNegative(const char *) STUB
20 void ipcache_init(void) STUB
21 void ipcacheMarkBadAddr(const char *name, const Ip::Address &) STUB
22 void ipcacheMarkGoodAddr(const char *name, const Ip::Address &) STUB
25 int ipcacheAddEntryFromHosts(const char *name, const char *ipaddr) STUB_RETVAL(-1)
26 
#define STUB_RETVAL(x)
Definition: STUB.h:41
void ipcacheInvalidate(const char *)
Definition: stub_ipcache.cc:18
#define STUB
macro to stub a void function.
Definition: STUB.h:33
void ipcacheMarkGoodAddr(const char *name, const Ip::Address &)
Definition: stub_ipcache.cc:22
void ipcache_nbgethostbyname(const char *name, IPH *handler, void *handlerData)
Definition: stub_ipcache.cc:16
const ipcache_addrs * ipcache_gethostbyname(const char *, int flags)
Definition: stub_ipcache.cc:17
void ipcacheMarkBadAddr(const char *name, const Ip::Address &)
Definition: stub_ipcache.cc:21
int ipcacheAddEntryFromHosts(const char *name, const char *ipaddr)
Definition: stub_ipcache.cc:25
void ipcache_purgelru(void *)
Definition: stub_ipcache.cc:15
void IPH(const ipcache_addrs *, const Dns::LookupDetails &details, void *)
Definition: ipcache.h:219
void ipcacheFreeMemory(void)
Definition: stub_ipcache.cc:23
void ipcache_init(void)
Definition: stub_ipcache.cc:20
#define NULL
Definition: types.h:166
void ipcacheInvalidateNegative(const char *)
Definition: stub_ipcache.cc:19
Definition: Address.cc:190
void ipcache_restart(void)
Definition: stub_ipcache.cc:24

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors