]> git.ipfire.org Git - thirdparty/squid.git/blame_incremental - src/DiskIO/ReadRequest.h
Simplify appending SBuf to String (#2108)
[thirdparty/squid.git] / src / DiskIO / ReadRequest.h
... / ...
CommitLineData
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_DISKIO_READREQUEST_H
10#define SQUID_SRC_DISKIO_READREQUEST_H
11
12#include "base/RefCount.h"
13#include "cbdata.h"
14
15class ReadRequest : public RefCountable
16{
17 CBDATA_CLASS(ReadRequest);
18
19public:
20 typedef RefCount<ReadRequest> Pointer;
21 ReadRequest(char *buf, off_t offset, size_t len);
22 ~ReadRequest() override {}
23
24 char *buf;
25 off_t offset;
26 size_t len;
27};
28
29#endif /* SQUID_SRC_DISKIO_READREQUEST_H */
30