Squid Web Cache
master
Loading...
Searching...
No Matches
SwapMetaIn.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
#ifndef SQUID_SRC_STORE_SWAPMETAIN_H
10
#define SQUID_SRC_STORE_SWAPMETAIN_H
11
12
#include "
sbuf/forward.h
"
13
#include "
store/forward.h
"
14
15
class
MemBuf
;
16
17
namespace
Store
{
18
21
size_t
UnpackSwapMetaSize
(
const
SBuf
&);
22
25
size_t
UnpackIndexSwapMeta
(
const
MemBuf
&,
StoreEntry
&,
cache_key
*);
26
28
void
UnpackHitSwapMeta
(
char
const
*, ssize_t,
StoreEntry
&);
29
30
}
// namespace Store
31
32
#endif
/* SQUID_SRC_STORE_SWAPMETAIN_H */
33
MemBuf
Definition
MemBuf.h:24
SBuf
Definition
SBuf.h:94
StoreEntry
Definition
Store.h:38
Store
Definition
SquidConfig.h:62
Store::UnpackSwapMetaSize
size_t UnpackSwapMetaSize(const SBuf &)
Definition
SwapMetaIn.cc:237
Store::UnpackHitSwapMeta
void UnpackHitSwapMeta(char const *, ssize_t, StoreEntry &)
deserializes entry metadata from the given buffer into the cache hit entry
Definition
SwapMetaIn.cc:310
Store::UnpackIndexSwapMeta
size_t UnpackIndexSwapMeta(const MemBuf &, StoreEntry &, cache_key *)
Definition
SwapMetaIn.cc:243
forward.h
forward.h
cache_key
unsigned char cache_key
Store key.
Definition
forward.h:29
squid
src
store
SwapMetaIn.h
Generated by
1.9.8