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
17void
19CachePeer *findCachePeerByName(const char *) STUB_RETVAL(nullptr)
20
21time_t
22FwdState::ForwardTimeout(const time_t) STUB_RETVAL(0)
23bool
24FwdState::EnoughTimeToReForward(const time_t) STUB_RETVAL(false)
25
#define STUB
macro to stub a void function.
Definition: STUB.h:33
#define STUB_RETVAL(x)
Definition: STUB.h:41
CachePeer * findCachePeerByName(const char *const name)
cache_peer with a given name (or nil)
Definition: neighbors.cc:1050
void peerConnClosed(CachePeer *p)
Notifies peer of an associated connection closure.
Definition: neighbors.cc:246

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors