2 * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
9 /* DEBUG: section 20 Storage Manager MD5 Cache Keys */
11 #ifndef SQUID_STORE_KEY_MD5_H_
12 #define SQUID_STORE_KEY_MD5_H_
15 #include "store/forward.h"
17 class HttpRequestMethod
;
20 cache_key
*storeKeyDup(const cache_key
*);
21 cache_key
*storeKeyCopy(cache_key
*, const cache_key
*);
22 void storeKeyFree(const cache_key
*);
23 const cache_key
*storeKeyScan(const char *);
24 const char *storeKeyText(const cache_key
*);
25 const cache_key
*storeKeyPublic(const char *, const HttpRequestMethod
&);
26 const cache_key
*storeKeyPublicByRequest(HttpRequest
*);
27 const cache_key
*storeKeyPublicByRequestMethod(HttpRequest
*, const HttpRequestMethod
&);
28 const cache_key
*storeKeyPrivate(const char *, const HttpRequestMethod
&, int);
29 int storeKeyHashBuckets(int);
30 int storeKeyNull(const cache_key
*);
31 void storeKeyInit(void);
33 extern HASHHASH storeKeyHashHash
;
34 extern HASHCMP storeKeyHashCmp
;
36 #endif /* SQUID_STORE_KEY_MD5_H_ */