stub_neighbors.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 
11 #define STUB_API "neighbors.cc"
12 #include "tests/STUB.h"
13 
14 #include "FwdState.h"
15 #include "neighbors.h"
16 
17 void
19 CachePeer *findCachePeerByName(const char *) STUB_RETVAL(nullptr)
20 
21 time_t
22 FwdState::ForwardTimeout(const time_t) STUB_RETVAL(0)
23 bool
24 FwdState::EnoughTimeToReForward(const time_t) STUB_RETVAL(false)
25 
#define STUB_RETVAL(x)
Definition: STUB.h:42
CachePeer * findCachePeerByName(const char *const name)
cache_peer with a given name (or nil)
Definition: neighbors.cc:1048
void peerConnClosed(CachePeer *p)
Notifies peer of an associated connection closure.
Definition: neighbors.cc:241
#define STUB
macro to stub a void function.
Definition: STUB.h:34

 

Introduction

Documentation

Support

Miscellaneous