stub_ipcache.cc File Reference
#include "squid.h"
#include "ipcache.h"
#include "STUB.h"
Include dependency graph for stub_ipcache.cc:

Go to the source code of this file.

Macros

#define STUB_API   "ipcache.cc"
 

Functions

void ipcache_purgelru (void *)
 
void ipcache_nbgethostbyname (const char *name, IPH *handler, void *handlerData)
 
const ipcache_addrsipcache_gethostbyname (const char *, int flags)
 
void ipcacheInvalidate (const char *)
 
void ipcacheInvalidateNegative (const char *)
 
void ipcache_init (void)
 
void ipcacheMarkBadAddr (const char *name, const Ip::Address &)
 
void ipcacheMarkGoodAddr (const char *name, const Ip::Address &)
 
void ipcacheFreeMemory (void)
 
void ipcache_restart (void)
 
int ipcacheAddEntryFromHosts (const char *name, const char *ipaddr)
 

Macro Definition Documentation

#define STUB_API   "ipcache.cc"

Definition at line 12 of file stub_ipcache.cc.

Function Documentation

void ipcacheMarkBadAddr ( const char *  name,
const Ip::Address  
)

Marks the given address as BAD. Does nothing if the domain name does not exist.

Parameters
namedomain name to have an IP marked bad
addrspecific addres to be marked bad

Definition at line 21 of file stub_ipcache.cc.

References ipcache_get().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors