StoreMetaMD5.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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_STOREMETAMD5_H
10 #define SQUID_STOREMETAMD5_H
11 
12 #include "StoreMeta.h"
13 /* for STORE_META_KEY_MD5 */
14 #include "enums.h"
15 
16 class StoreMetaMD5 : public StoreMeta
17 {
19 
20 public:
21  char getType() const {return STORE_META_KEY_MD5;}
22 
23  bool validLength(int) const;
24  bool checkConsistency(StoreEntry *) const;
25 
26 private:
27  static int md5_mismatches;
28 };
29 
30 #endif /* SQUID_STOREMETAMD5_H */
31 
char getType() const
Definition: StoreMetaMD5.h:21
static int md5_mismatches
Definition: StoreMetaMD5.h:27
bool checkConsistency(StoreEntry *) const
Definition: StoreMetaMD5.cc:27
bool validLength(int) const
Definition: StoreMetaMD5.cc:19
MEMPROXY_CLASS(StoreMetaMD5)

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors