SwapMetaIn.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2023 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 
void UnpackHitSwapMeta(char const *, ssize_t, StoreEntry &)
deserializes entry metadata from the given buffer into the cache hit entry
Definition: SwapMetaIn.cc:310
unsigned char cache_key
Store key.
Definition: forward.h:29
Definition: SBuf.h:93
size_t UnpackSwapMetaSize(const SBuf &)
Definition: SwapMetaIn.cc:237
Definition: MemBuf.h:23
size_t UnpackIndexSwapMeta(const MemBuf &, StoreEntry &, cache_key *)
Definition: SwapMetaIn.cc:243

 

Introduction

Documentation

Support

Miscellaneous