Squid Web Cache
master
Loading...
Searching...
No Matches
MessageSizes.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_MESSAGESIZES_H
10
#define SQUID_SRC_MESSAGESIZES_H
11
16
class
MessageSizes
17
{
18
public
:
21
uint64_t
header
= 0;
22
24
uint64_t
payloadData
= 0;
25
27
uint64_t
messageTotal
()
const
{
return
header
+
payloadData
;}
28
};
29
30
#endif
/* SQUID_SRC_MESSAGESIZES_H */
31
MessageSizes
Definition
MessageSizes.h:17
MessageSizes::payloadData
uint64_t payloadData
total size of payload block(s) excluding transfer encoding overheads
Definition
MessageSizes.h:24
MessageSizes::header
uint64_t header
Definition
MessageSizes.h:21
MessageSizes::messageTotal
uint64_t messageTotal() const
total message size
Definition
MessageSizes.h:27
squid
src
MessageSizes.h
Generated by
1.9.8