store_key_md5.cc File Reference
#include "squid.h"
#include "HttpRequest.h"
#include "md5.h"
#include "store_key_md5.h"
Include dependency graph for store_key_md5.cc:

Go to the source code of this file.

Functions

const char * storeKeyText (const cache_key *key)
 
const cache_keystoreKeyScan (const char *buf)
 
int storeKeyHashCmp (const void *a, const void *b)
 
unsigned int storeKeyHashHash (const void *key, unsigned int n)
 
const cache_keystoreKeyPrivate ()
 
const cache_keystoreKeyPublic (const char *url, const HttpRequestMethod &method, const KeyScope keyScope)
 
const cache_keystoreKeyPublicByRequest (HttpRequest *request, const KeyScope keyScope)
 
const cache_keystoreKeyPublicByRequestMethod (HttpRequest *request, const HttpRequestMethod &method, const KeyScope keyScope)
 
cache_keystoreKeyDup (const cache_key *key)
 
cache_keystoreKeyCopy (cache_key *dst, const cache_key *src)
 
void storeKeyFree (const cache_key *key)
 
int storeKeyHashBuckets (int nbuckets)
 

Function Documentation

◆ storeKeyCopy()

cache_key * storeKeyCopy ( cache_key dst,
const cache_key src 
)

Definition at line 147 of file store_key_md5.cc.

References SQUID_MD5_DIGEST_LENGTH.

Referenced by htcpQuery(), and icpSetCacheKey().

◆ storeKeyDup()

cache_key * storeKeyDup ( const cache_key key)

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()

int storeKeyHashBuckets ( int  nbuckets)

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()

unsigned int storeKeyHashHash ( const void *  key,
unsigned int  n 
)

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 
)

◆ storeKeyPublicByRequest()

const cache_key * storeKeyPublicByRequest ( HttpRequest request,
const KeyScope  keyScope 
)

◆ storeKeyPublicByRequestMethod()

◆ storeKeyScan()

const cache_key * storeKeyScan ( const char *  buf)

Definition at line 32 of file store_key_md5.cc.

References SQUID_MD5_DIGEST_LENGTH.

◆ storeKeyText()

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors