]> git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/stub_DelayId.cc
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / src / tests / stub_DelayId.cc
1 /*
2 * Copyright (C) 1996-2018 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 /* DEBUG: section 20 Storage Manager */
10
11 #include "squid.h"
12
13 #if USE_DELAY_POOLS
14 #include "BandwidthBucket.h"
15 #include "DelayId.h"
16
17 #define STUB_API "stub_DelayId.cc"
18 #include "tests/STUB.h"
19
20 DelayId::DelayId(): pool_(0), compositeId(NULL), markedAsNoDelay(false) {}
21 DelayId::~DelayId() {}
22
23 void DelayId::delayRead(DeferredRead const&) STUB_NOP
24 void BandwidthBucket::refillBucket() STUB
25 bool BandwidthBucket::applyQuota(int &, Comm::IoCallback *) STUB_RETVAL(false)
26 BandwidthBucket *BandwidthBucket::SelectBucket(fde *) STUB_RETVAL(nullptr)
27 void BandwidthBucket::reduceBucket(const int) STUB
28
29 #endif /* USE_DELAY_POOLS */
30