]> git.ipfire.org Git - thirdparty/squid.git/blame - src/StoreMetaMD5.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / StoreMetaMD5.h
CommitLineData
528b2c61 1/*
bde978a6 2 * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
528b2c61 3 *
bbc27441
AJ
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.
528b2c61 7 */
bbc27441 8
528b2c61 9#ifndef SQUID_STOREMETAMD5_H
10#define SQUID_STOREMETAMD5_H
11
b367a435 12#include "StoreMeta.h"
e1f7507e
AJ
13/* for STORE_META_KEY_MD5 */
14#include "enums.h"
528b2c61 15
62e76326 16class StoreMetaMD5 : public StoreMeta
17{
b001e822 18 MEMPROXY_CLASS(StoreMetaMD5);
62e76326 19
741c2986 20public:
528b2c61 21 char getType() const {return STORE_META_KEY_MD5;}
62e76326 22
528b2c61 23 bool validLength(int) const;
24 bool checkConsistency(StoreEntry *) const;
62e76326 25
528b2c61 26private:
528b2c61 27 static int md5_mismatches;
28};
29
30#endif /* SQUID_STOREMETAMD5_H */
f53969cc 31