]> git.ipfire.org Git - thirdparty/squid.git/blob - src/DiskIO/ReadRequest.h
Merge from trunk rev.13584
[thirdparty/squid.git] / src / DiskIO / ReadRequest.h
1 /*
2 * Copyright (C) 1996-2014 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
18 public:
19 typedef RefCount<ReadRequest> Pointer;
20 ReadRequest(char *buf, off_t offset, size_t len);
21 virtual ~ReadRequest() {}
22
23 char *buf;
24 off_t offset;
25 size_t len;
26
27 private:
28 CBDATA_CLASS2(ReadRequest);
29 };
30
31 #endif /* SQUID_READREQUEST_H */