]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/fs/ufs/UFSSwapLogParser.h
a9db8b2aa9eb728e33991bd444e04d9e3cb4f72e
2 * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
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.
9 #ifndef SQUID_FS_UFS_UFSSWAPLOGPARSER_H
10 #define SQUID_FS_UFS_UFSSWAPLOGPARSER_H
12 class StoreSwapLogData
;
19 class UFSSwapLogParser
26 UFSSwapLogParser(FILE *fp
):log(fp
),log_entries(-1), record_size(0) {
28 virtual ~UFSSwapLogParser() {};
30 static UFSSwapLogParser
*GetUFSSwapLogParser(FILE *fp
);
32 virtual bool ReadRecord(StoreSwapLogData
&swapData
) = 0;
44 #endif /* SQUID_FS_UFS_UFSSWAPLOGPARSER_H */