]> git.ipfire.org Git - thirdparty/squid.git/blob - src/DiskIO/Mmapped/MmappedIOStrategy.h
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / src / DiskIO / Mmapped / MmappedIOStrategy.h
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 #ifndef SQUID_MMAPPEDIOSTRATEGY_H
10 #define SQUID_MMAPPEDIOSTRATEGY_H
11 #include "DiskIO/DiskIOStrategy.h"
12
13 class MmappedIOStrategy : public DiskIOStrategy
14 {
15
16 public:
17 virtual bool shedLoad();
18 virtual int load();
19 virtual RefCount<DiskFile> newFile(char const *path);
20 virtual bool unlinkdUseful() const;
21 virtual void unlinkFile (char const *);
22 };
23
24 #endif /* SQUID_MMAPPEDIOSTRATEGY_H */
25