]>
| Commit | Line | Data |
|---|---|---|
| 59b2d47f | 1 | /* |
| 1f7b830e | 2 | * Copyright (C) 1996-2025 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 | ||
| ff9d9458 FC |
9 | #ifndef SQUID_SRC_DISKIO_READREQUEST_H |
| 10 | #define SQUID_SRC_DISKIO_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); | |
| 337b9aa4 | 22 | ~ReadRequest() override {} |
| 59b2d47f | 23 | |
| b9ae18aa | 24 | char *buf; |
| 25 | off_t offset; | |
| 26 | size_t len; | |
| b9ae18aa | 27 | }; |
| 59b2d47f | 28 | |
| ff9d9458 | 29 | #endif /* SQUID_SRC_DISKIO_READREQUEST_H */ |
| f53969cc | 30 |