Go to the source code of this file.
Functions | |
const char * | storeKeyText (const cache_key *key) |
const cache_key * | storeKeyScan (const char *buf) |
int | storeKeyHashCmp (const void *a, const void *b) |
unsigned int | storeKeyHashHash (const void *key, unsigned int n) |
const cache_key * | storeKeyPrivate () |
const cache_key * | storeKeyPublic (const char *url, const HttpRequestMethod &method, const KeyScope keyScope) |
const cache_key * | storeKeyPublicByRequest (HttpRequest *request, const KeyScope keyScope) |
const cache_key * | storeKeyPublicByRequestMethod (HttpRequest *request, const HttpRequestMethod &method, const KeyScope keyScope) |
cache_key * | storeKeyDup (const cache_key *key) |
cache_key * | storeKeyCopy (cache_key *dst, const cache_key *src) |
void | storeKeyFree (const cache_key *key) |
int | storeKeyHashBuckets (int nbuckets) |
Function Documentation
◆ storeKeyCopy()
Definition at line 147 of file store_key_md5.cc.
References SQUID_MD5_DIGEST_LENGTH.
Referenced by htcpQuery(), and icpSetCacheKey().
◆ storeKeyDup()
Definition at line 139 of file store_key_md5.cc.
References MEM_MD5_DIGEST, memAllocate(), and SQUID_MD5_DIGEST_LENGTH.
Referenced by StoreEntry::hashInsert().
◆ storeKeyFree()
void storeKeyFree | ( | const cache_key * | key | ) |
Definition at line 154 of file store_key_md5.cc.
References MEM_MD5_DIGEST, and memFree().
Referenced by StoreEntry::hashDelete().
◆ storeKeyHashBuckets()
Definition at line 160 of file store_key_md5.cc.
References nbuckets.
Referenced by Store::Disks::init().
◆ storeKeyHashCmp()
int storeKeyHashCmp | ( | const void * | a, |
const void * | b | ||
) |
Definition at line 50 of file store_key_md5.cc.
References A, B, and SQUID_MD5_DIGEST_LENGTH.
◆ storeKeyHashHash()
Definition at line 68 of file store_key_md5.cc.
◆ storeKeyPrivate()
const cache_key * storeKeyPrivate | ( | ) |
Definition at line 80 of file store_key_md5.cc.
References assert, KidIdentifier, pid, and SQUID_MD5_DIGEST_LENGTH.
Referenced by StoreEntry::setPrivateKey().
◆ storeKeyPublic()
const cache_key * storeKeyPublic | ( | const char * | url, |
const HttpRequestMethod & | method, | ||
const KeyScope | keyScope | ||
) |
Definition at line 95 of file store_key_md5.cc.
References HttpRequestMethod::id(), SQUID_MD5_DIGEST_LENGTH, SquidMD5Final(), SquidMD5Init(), and SquidMD5Update().
Referenced by accessLogReader(), StoreEntry::calcPublicKey(), icpGetCacheKey(), purgeEntriesByUrl(), and storeGetPublic().
◆ storeKeyPublicByRequest()
const cache_key * storeKeyPublicByRequest | ( | HttpRequest * | request, |
const KeyScope | keyScope | ||
) |
Definition at line 110 of file store_key_md5.cc.
References HttpRequest::method, and storeKeyPublicByRequestMethod().
Referenced by StoreEntry::calcPublicKey(), neighborsDigestSelect(), and peerDigestLookup().
◆ storeKeyPublicByRequestMethod()
const cache_key * storeKeyPublicByRequestMethod | ( | HttpRequest * | request, |
const HttpRequestMethod & | method, | ||
const KeyScope | keyScope | ||
) |
Definition at line 116 of file store_key_md5.cc.
References debugs, HttpRequestMethod::id(), SBuf::isEmpty(), SBuf::length(), SBuf::rawContent(), SQUID_MD5_DIGEST_LENGTH, SquidMD5Final(), SquidMD5Init(), SquidMD5Update(), HttpRequest::storeId(), and HttpRequest::vary_headers.
Referenced by storeGetPublicByRequestMethod(), and storeKeyPublicByRequest().
◆ storeKeyScan()
const cache_key * storeKeyScan | ( | const char * | buf | ) |
Definition at line 32 of file store_key_md5.cc.
References SQUID_MD5_DIGEST_LENGTH.
◆ storeKeyText()
const char * storeKeyText | ( | const cache_key * | key | ) |
Definition at line 17 of file store_key_md5.cc.
References SQUID_MD5_DIGEST_LENGTH.
Referenced by Fs::Ufs::UFSSwapDir::addDiskRestore(), cacheDigestHashKey(), Store::Controller::evictIfFound(), StoreEntry::forcePublicKey(), Ipc::StoreMap::freeEntryByKey(), Store::Disks::get(), StoreEntry::getMD5Text(), StoreEntry::hashInsert(), htcpHandleTstResponse(), htcpQuery(), neighborsHtcpReply(), neighborsUdpAck(), Ipc::MemMap::openForReading(), Ipc::StoreMap::openForReading(), Ipc::StoreMap::openForUpdating(), Ipc::MemMap::openForWriting(), Ipc::StoreMap::openForWriting(), Ipc::StoreMap::openOrCreateForReading(), Store::Controller::peek(), purgeEntriesByUrl(), Fs::Ufs::RebuildState::rebuildFromSwapLog(), and Ipc::StoreMap::validateHit().