/* * Copyright (C) 1996-2018 The Squid Software Foundation and contributors * * Squid software is distributed under GPLv2+ license and includes * contributions from numerous individuals and organizations. * Please see the COPYING and CONTRIBUTORS files for details. */ #include "squid.h" #include "SwapDir.h" #define STUB_API "SwapDir.cc" #include "tests/STUB.h" // SwapDir::SwapDir(char const *) STUB // SwapDir::~SwapDir() STUB void SwapDir::create() STUB void SwapDir::dump(StoreEntry &) const STUB bool SwapDir::doubleCheck(StoreEntry &) STUB_RETVAL(false) void SwapDir::unlink(StoreEntry &) STUB void SwapDir::getStats(StoreInfoStats &) const STUB void SwapDir::stat(StoreEntry &) const STUB void SwapDir::statfs(StoreEntry &)const STUB void SwapDir::maintain() STUB uint64_t SwapDir::minSize() const STUB_RETVAL(0) int64_t SwapDir::maxObjectSize() const STUB_RETVAL(0) void SwapDir::maxObjectSize(int64_t) STUB void SwapDir::reference(StoreEntry &) STUB bool SwapDir::dereference(StoreEntry &, bool) STUB_RETVAL(false) int SwapDir::callback() STUB_RETVAL(0) bool SwapDir::canStore(const StoreEntry &, int64_t, int &) const STUB_RETVAL(false) bool SwapDir::canLog(StoreEntry const &)const STUB_RETVAL(false) void SwapDir::sync() STUB void SwapDir::openLog() STUB void SwapDir::closeLog() STUB int SwapDir::writeCleanStart() STUB_RETVAL(0) void SwapDir::writeCleanDone() STUB void SwapDir::logEntry(const StoreEntry &, int) const STUB char const * SwapDir::type() const STUB_RETVAL("stub") bool SwapDir::active() const STUB_RETVAL(false) bool SwapDir::needsDiskStrand() const STUB_RETVAL(false) ConfigOption * SwapDir::getOptionTree() const STUB_RETVAL(NULL) void SwapDir::parseOptions(int) STUB void SwapDir::dumpOptions(StoreEntry *) const STUB bool SwapDir::optionReadOnlyParse(char const *, const char *, int) STUB_RETVAL(false) void SwapDir::optionReadOnlyDump(StoreEntry *) const STUB bool SwapDir::optionObjectSizeParse(char const *, const char *, int) STUB_RETVAL(false) void SwapDir::optionObjectSizeDump(StoreEntry *) const STUB StoreEntry * SwapDir::get(const cache_key *) STUB_RETVAL(NULL) void SwapDir::get(String const, STOREGETCLIENT , void *) STUB