store_key_md5.cc File Reference
#include "squid.h"
#include "HttpRequest.h"
#include "md5.h"
#include "store_key_md5.h"
#include "URL.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)
 
int storeKeyNull (const cache_key *key)
 
void storeKeyInit (void)
 

Variables

static cache_key null_key [SQUID_MD5_DIGEST_LENGTH]
 

Function Documentation

cache_key* storeKeyCopy ( cache_key dst,
const cache_key src 
)

Definition at line 150 of file store_key_md5.cc.

References SQUID_MD5_DIGEST_LENGTH.

Referenced by htcpQuery(), and icpSetCacheKey().

cache_key* storeKeyDup ( const cache_key key)

Definition at line 142 of file store_key_md5.cc.

References MEM_MD5_DIGEST, memAllocate(), and SQUID_MD5_DIGEST_LENGTH.

Referenced by StoreEntry::hashInsert().

void storeKeyFree ( const cache_key key)

Definition at line 157 of file store_key_md5.cc.

References MEM_MD5_DIGEST, and memFree().

Referenced by StoreEntry::hashDelete().

int storeKeyHashBuckets ( int  nbuckets)

Definition at line 163 of file store_key_md5.cc.

Referenced by Store::Disks::init().

int storeKeyHashCmp ( const void *  a,
const void *  b 
)

Definition at line 53 of file store_key_md5.cc.

References A, B, i, and SQUID_MD5_DIGEST_LENGTH.

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

Definition at line 71 of file store_key_md5.cc.

References i.

void storeKeyInit ( void  )

Definition at line 183 of file store_key_md5.cc.

References null_key, and SQUID_MD5_DIGEST_LENGTH.

Referenced by storeInit().

int storeKeyNull ( const cache_key key)

Definition at line 174 of file store_key_md5.cc.

References null_key, and SQUID_MD5_DIGEST_LENGTH.

Referenced by storeRebuildParseEntry().

const cache_key* storeKeyPrivate ( )

Definition at line 83 of file store_key_md5.cc.

References assert, key, KidIdentifier, pid, and SQUID_MD5_DIGEST_LENGTH.

Referenced by StoreEntry::setPrivateKey().

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* storeKeyScan ( const char *  buf)

Definition at line 35 of file store_key_md5.cc.

References i, NULL, and SQUID_MD5_DIGEST_LENGTH.

Variable Documentation

Definition at line 17 of file store_key_md5.cc.

Referenced by storeKeyInit(), and storeKeyNull().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors