store_key_md5.h File Reference
#include "hash.h"
#include "http/forward.h"
#include "store/forward.h"
Include dependency graph for store_key_md5.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  KeyScope {
  ksDefault = 0 ,
  ksRevalidation
}
 

Functions

cache_keystoreKeyDup (const cache_key *)
 
cache_keystoreKeyCopy (cache_key *, const cache_key *)
 
void storeKeyFree (const cache_key *)
 
const cache_keystoreKeyScan (const char *)
 
const char * storeKeyText (const cache_key *)
 
const cache_keystoreKeyPublic (const char *, const HttpRequestMethod &, const KeyScope keyScope=ksDefault)
 
const cache_keystoreKeyPublicByRequest (HttpRequest *, const KeyScope keyScope=ksDefault)
 
const cache_keystoreKeyPublicByRequestMethod (HttpRequest *, const HttpRequestMethod &, const KeyScope keyScope=ksDefault)
 
const cache_keystoreKeyPrivate ()
 
int storeKeyHashBuckets (int)
 

Variables

HASHHASH storeKeyHashHash
 
HASHCMP storeKeyHashCmp
 

Enumeration Type Documentation

◆ KeyScope

enum KeyScope
Enumerator
ksDefault 
ksRevalidation 

Definition at line 18 of file store_key_md5.h.

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

◆ 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 = ksDefault 
)

◆ storeKeyPublicByRequest()

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

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

Variable Documentation

◆ storeKeyHashCmp

HASHCMP storeKeyHashCmp
extern

◆ storeKeyHashHash

HASHHASH storeKeyHashHash
extern

Referenced by cacheCreate(), and Store::Disks::init().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors