]> git.ipfire.org Git - thirdparty/squid.git/blame - src/DiskIO/Mmapped/MmappedIOStrategy.h
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / DiskIO / Mmapped / MmappedIOStrategy.h
CommitLineData
bbc27441 1/*
f70aedc4 2 * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
bbc27441
AJ
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
e2851fe7
AR
9#ifndef SQUID_MMAPPEDIOSTRATEGY_H
10#define SQUID_MMAPPEDIOSTRATEGY_H
11#include "DiskIO/DiskIOStrategy.h"
12
13class MmappedIOStrategy : public DiskIOStrategy
14{
15
16public:
17 virtual bool shedLoad();
18 virtual int load();
19 virtual RefCount<DiskFile> newFile(char const *path);
c521ad17 20 virtual bool unlinkdUseful() const;
e2851fe7
AR
21 virtual void unlinkFile (char const *);
22};
23
24#endif /* SQUID_MMAPPEDIOSTRATEGY_H */
f53969cc 25