Squid Web Cache master
Loading...
Searching...
No Matches
store_key_md5.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2025 The Squid Software Foundation and contributors
3 *
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.
7 */
8
9/* DEBUG: section 20 Storage Manager MD5 Cache Keys */
10
11#ifndef SQUID_SRC_STORE_KEY_MD5_H
12#define SQUID_SRC_STORE_KEY_MD5_H
13
14#include "hash.h"
15#include "http/forward.h"
16#include "store/forward.h"
17
18typedef enum {
22
25void storeKeyFree(const cache_key *);
26const cache_key *storeKeyScan(const char *);
27const char *storeKeyText(const cache_key *);
28const cache_key *storeKeyPublic(const char *, const HttpRequestMethod&, const KeyScope keyScope = ksDefault);
32int storeKeyHashBuckets(int);
33
36
37#endif /* SQUID_SRC_STORE_KEY_MD5_H */
38
int HASHCMP(const void *, const void *)
Definition hash.h:13
unsigned int HASHHASH(const void *, unsigned int)
Definition hash.h:14
unsigned char cache_key
Store key.
Definition forward.h:29
HASHHASH storeKeyHashHash
int storeKeyHashBuckets(int)
KeyScope
@ ksRevalidation
@ ksDefault
const cache_key * storeKeyPublic(const char *, const HttpRequestMethod &, const KeyScope keyScope=ksDefault)
const char * storeKeyText(const cache_key *)
HASHCMP storeKeyHashCmp
const cache_key * storeKeyPublicByRequest(HttpRequest *, const KeyScope keyScope=ksDefault)
const cache_key * storeKeyPublicByRequestMethod(HttpRequest *, const HttpRequestMethod &, const KeyScope keyScope=ksDefault)
cache_key * storeKeyCopy(cache_key *, const cache_key *)
const cache_key * storeKeyScan(const char *)
const cache_key * storeKeyPrivate()
void storeKeyFree(const cache_key *)
cache_key * storeKeyDup(const cache_key *)