]> git.ipfire.org Git - thirdparty/squid.git/blob - src/DiskIO/ReadRequest.h
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / src / DiskIO / ReadRequest.h
1 /*
2 * Copyright (C) 1996-2018 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_READREQUEST_H
10 #define SQUID_READREQUEST_H
11
12 #include "base/RefCount.h"
13 #include "cbdata.h"
14
15 class ReadRequest : public RefCountable
16 {
17 CBDATA_CLASS(ReadRequest);
18
19 public:
20 typedef RefCount<ReadRequest> Pointer;
21 ReadRequest(char *buf, off_t offset, size_t len);
22 virtual ~ReadRequest() {}
23
24 char *buf;
25 off_t offset;
26 size_t len;
27 };
28
29 #endif /* SQUID_READREQUEST_H */
30