ReadRequest.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2023 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 
15 class ReadRequest : public RefCountable
16 {
18 
19 public:
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 
CBDATA_CLASS(ReadRequest)
size_t len
Definition: ReadRequest.h:26
~ReadRequest() override
Definition: ReadRequest.h:22
char * buf
Definition: ReadRequest.h:24
RefCount< ReadRequest > Pointer
Definition: ReadRequest.h:20
off_t offset
Definition: ReadRequest.h:25
ReadRequest(char *buf, off_t offset, size_t len)
Definition: ReadRequest.cc:13

 

Introduction

Documentation

Support

Miscellaneous