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
15class MemBuf;
16
17namespace Store {
18
21size_t UnpackSwapMetaSize(const SBuf &);
22
26
28void UnpackHitSwapMeta(char const *, ssize_t, StoreEntry &);
29
30} // namespace Store
31
32#endif /* SQUID_SRC_STORE_SWAPMETAIN_H */
33
Definition SBuf.h:94
size_t UnpackSwapMetaSize(const SBuf &)
void UnpackHitSwapMeta(char const *, ssize_t, StoreEntry &)
deserializes entry metadata from the given buffer into the cache hit entry
size_t UnpackIndexSwapMeta(const MemBuf &, StoreEntry &, cache_key *)
unsigned char cache_key
Store key.
Definition forward.h:29