#include <StoreMetaMD5.h>


Public Member Functions | |
char | getType () const |
bool | validLength (int) const |
bool | checkConsistency (StoreEntry *) const |
Static Public Member Functions | |
static bool | validType (char) |
static StoreMeta * | Factory (char type, size_t len, void const *value) |
static StoreMeta ** | Add (StoreMeta **tail, StoreMeta *aNode) |
static void | FreeList (StoreMeta **head) |
Public Attributes | |
int | length |
void * | value |
tlv * | next |
Static Public Attributes | |
static int const | MaximumTLVLength = 1 << 16 |
static int const | MinimumTLVLength = 0 |
Private Member Functions | |
MEMPROXY_CLASS (StoreMetaMD5) | |
Static Private Attributes | |
static int | md5_mismatches = 0 |
Detailed Description
Definition at line 16 of file StoreMetaMD5.h.
Member Function Documentation
◆ Add()
Definition at line 130 of file StoreMeta.cc.
References assert, StoreMeta::next, and NULL.
Referenced by StoreMetaUnpacker::doOneEntry(), and storeSwapMetaBuild().
◆ checkConsistency()
|
virtual |
Reimplemented from StoreMeta.
Definition at line 27 of file StoreMetaMD5.cc.
References assert, DBG_IMPORTANT, debugs, EBIT_TEST, StoreEntry::flags, StoreEntry::getMD5Text(), getType(), isPowTen(), hash_link::key, KEY_PRIVATE, StoreMeta::length, md5_mismatches, SQUID_MD5_DIGEST_LENGTH, STORE_META_KEY_MD5, and StoreMeta::value.
◆ Factory()
Definition at line 68 of file StoreMeta.cc.
References DBG_CRITICAL, debugs, StoreMeta::length, NULL, STORE_META_KEY, STORE_META_OBJSIZE, STORE_META_STD, STORE_META_STD_LFS, STORE_META_URL, STORE_META_VARY_HEADERS, type, StoreMeta::validLength(), StoreMeta::validType(), StoreMeta::value, and xmalloc.
Referenced by StoreMetaUnpacker::doOneEntry(), and storeSwapMetaBuild().
◆ FreeList()
|
staticinherited |
Definition at line 118 of file StoreMeta.cc.
References head, node::next, NULL, and xfree.
◆ getType()
|
inlinevirtual |
Implements StoreMeta.
Definition at line 21 of file StoreMetaMD5.h.
References STORE_META_KEY_MD5.
Referenced by checkConsistency().
◆ MEMPROXY_CLASS()
|
private |
◆ validLength()
|
virtual |
Reimplemented from StoreMeta.
Definition at line 19 of file StoreMetaMD5.cc.
References SQUID_MD5_DIGEST_LENGTH.
◆ validType()
|
staticinherited |
Definition at line 24 of file StoreMeta.cc.
References DBG_CRITICAL, debugs, STORE_META_END, STORE_META_HITMETERING, STORE_META_KEY_SHA, STORE_META_KEY_URL, STORE_META_STOREURL, STORE_META_VALID, STORE_META_VARY_ID, and type.
Referenced by StoreMeta::Factory().
Member Data Documentation
◆ length
|
inherited |
Definition at line 133 of file StoreMeta.h.
Referenced by checkConsistency(), StoreMetaVary::checkConsistency(), StoreMeta::Factory(), InitStoreEntry::operator()(), and StoreMeta::operator=().
◆ MaximumTLVLength
|
staticinherited |
Definition at line 122 of file StoreMeta.h.
Referenced by StoreMeta::validLength().
◆ md5_mismatches
|
staticprivate |
Definition at line 27 of file StoreMetaMD5.h.
Referenced by checkConsistency().
◆ MinimumTLVLength
|
staticinherited |
Definition at line 123 of file StoreMeta.h.
Referenced by StoreMeta::validLength().
◆ next
|
inherited |
Definition at line 135 of file StoreMeta.h.
Referenced by StoreMeta::Add(), and StoreMeta::operator=().
◆ value
|
inherited |
Definition at line 134 of file StoreMeta.h.
Referenced by checkConsistency(), StoreMetaURL::checkConsistency(), StoreMetaVary::checkConsistency(), StoreMeta::Factory(), InitStoreEntry::operator()(), and StoreMeta::operator=().
The documentation for this class was generated from the following files:
- src/StoreMetaMD5.h
- src/StoreMetaMD5.cc