]> git.ipfire.org Git - thirdparty/squid.git/blame - src/tests/stub_DelayId.cc
Maintenance: Removed most NULLs using modernize-use-nullptr (#1075)
[thirdparty/squid.git] / src / tests / stub_DelayId.cc
CommitLineData
81beaff8 1/*
bf95c10a 2 * Copyright (C) 1996-2022 The Squid Software Foundation and contributors
81beaff8 3 *
4e0938ef
AJ
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.
81beaff8 7 */
8
4e0938ef
AJ
9/* DEBUG: section 20 Storage Manager */
10
f7f3304a 11#include "squid.h"
81beaff8 12
9a0a18de 13#if USE_DELAY_POOLS
5410b638 14#include "BandwidthBucket.h"
81beaff8 15#include "DelayId.h"
16
54311b70
FC
17#define STUB_API "stub_DelayId.cc"
18#include "tests/STUB.h"
81beaff8 19
aee3523a 20DelayId::DelayId(): pool_(0), compositeId(nullptr), markedAsNoDelay(false) {}
81beaff8 21DelayId::~DelayId() {}
22
a928fdfd 23void DelayId::delayRead(const AsyncCallPointer &) STUB_NOP
5410b638
AR
24void BandwidthBucket::refillBucket() STUB
25bool BandwidthBucket::applyQuota(int &, Comm::IoCallback *) STUB_RETVAL(false)
26BandwidthBucket *BandwidthBucket::SelectBucket(fde *) STUB_RETVAL(nullptr)
27void BandwidthBucket::reduceBucket(const int) STUB
54311b70 28
9a0a18de 29#endif /* USE_DELAY_POOLS */
f53969cc 30