1 /* 2 * Copyright (C) 1996-2021 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 #include "store/Disk.h" 11 12 #define STUB_API "store/Disk.cc" 13 #include "tests/STUB.h" 14 15 // SwapDir::SwapDir(char const *) STUB 16 // SwapDir::~SwapDir() STUB 17 void SwapDir::create() STUB 18 void SwapDir::dump(StoreEntry &) const STUB 19 bool SwapDir::doubleCheck(StoreEntry &) STUB_RETVAL(false) 20 void SwapDir::getStats(StoreInfoStats &) const STUB 21 void SwapDir::stat(StoreEntry &) const STUB 22 void SwapDir::statfs(StoreEntry &)const STUB 23 void SwapDir::maintain() STUB 24 uint64_t SwapDir::minSize() const STUB_RETVAL(0) 25 int64_t SwapDir::minObjectSize() const STUB_RETVAL(0) 26 int64_t SwapDir::maxObjectSize() const STUB_RETVAL(0) 27 void SwapDir::maxObjectSize(int64_t) STUB 28 void SwapDir::reference(StoreEntry &) STUB 29 bool SwapDir::dereference(StoreEntry &) STUB_RETVAL(false) 30 bool SwapDir::canStore(const StoreEntry &, int64_t, int &) const STUB_RETVAL(false) 31 bool SwapDir::canLog(StoreEntry const &)const STUB_RETVAL(false) 32 void SwapDir::openLog() STUB 33 void SwapDir::closeLog() STUB 34 int SwapDir::writeCleanStart() STUB_RETVAL(0) 35 void SwapDir::writeCleanDone() STUB 36 void SwapDir::logEntry(const StoreEntry &, int) const STUB 37 char const * SwapDir::type() const STUB_RETVAL("stub") 38 bool SwapDir::active() const STUB_RETVAL(false) 39 bool SwapDir::needsDiskStrand() const STUB_RETVAL(false) 40 ConfigOption * SwapDir::getOptionTree() const STUB_RETVAL(NULL) 41 void SwapDir::parseOptions(int) STUB 42 void SwapDir::dumpOptions(StoreEntry *) const STUB 43 bool SwapDir::optionReadOnlyParse(char const *, const char *, int) STUB_RETVAL(false) 44 void SwapDir::optionReadOnlyDump(StoreEntry *) const STUB 45 bool SwapDir::optionObjectSizeParse(char const *, const char *, int) STUB_RETVAL(false) 46 void SwapDir::optionObjectSizeDump(StoreEntry *) const STUB 47 StoreEntry * SwapDir::get(const cache_key *) STUB_RETVAL(NULL) 48 49