]>
Commit | Line | Data |
---|---|---|
59b2d47f | 1 | /* |
bbc27441 | 2 | * Copyright (C) 1996-2014 The Squid Software Foundation and contributors |
59b2d47f | 3 | * |
bbc27441 AJ |
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. | |
59b2d47f | 7 | */ |
8 | ||
b9ae18aa | 9 | #ifndef SQUID_READREQUEST_H |
10 | #define SQUID_READREQUEST_H | |
59b2d47f | 11 | |
8bf217bd | 12 | #include "base/RefCount.h" |
aa839030 | 13 | #include "cbdata.h" |
59b2d47f | 14 | |
b9ae18aa | 15 | class ReadRequest : public RefCountable |
59b2d47f | 16 | { |
5c2f68b7 | 17 | CBDATA_CLASS(ReadRequest); |
59b2d47f | 18 | |
19 | public: | |
b9ae18aa | 20 | typedef RefCount<ReadRequest> Pointer; |
21 | ReadRequest(char *buf, off_t offset, size_t len); | |
22 | virtual ~ReadRequest() {} | |
59b2d47f | 23 | |
b9ae18aa | 24 | char *buf; |
25 | off_t offset; | |
26 | size_t len; | |
b9ae18aa | 27 | }; |
59b2d47f | 28 | |
b9ae18aa | 29 | #endif /* SQUID_READREQUEST_H */ |