SwapMetaOut.cc
Go to the documentation of this file.
84 const auto bufSize = NaturalSum<size_t>(sizeof(SwapMetaMagic), sizeof(RawSwapMetaPrefixLength), metas.length()).value();
AllocedBuf PackSwapMeta(const StoreEntry &, size_t &size)
Definition: SwapMetaOut.cc:77
static void PackFields(const StoreEntry &entry, std::ostream &os)
writes all swap meta fields of the given Store entry to the given stream
Definition: SwapMetaOut.cc:45
static void PackField(std::ostream &os, const SwapMetaType type, const size_t length, const void *value)
writes a single swap meta field to the given stream
Definition: SwapMetaOut.cc:22
void CheckSwapMetaSerialization(RawSwapMetaType, RawSwapMetaLength, const void *)
Definition: SwapMeta.cc:13
Definition: Stream.h:20
const size_t SwapMetaFieldValueLengthMax
Definition: SwapMeta.h:107
Definition: Store.h:37
Definition: SquidConfig.h:62
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products