]> git.ipfire.org Git - thirdparty/squid.git/blame - src/DiskIO/ReadRequest.h
Boilerplate: update copyright blurbs on src/
[thirdparty/squid.git] / src / DiskIO / ReadRequest.h
CommitLineData
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 15class ReadRequest : public RefCountable
59b2d47f 16{
17
18public:
b9ae18aa 19 typedef RefCount<ReadRequest> Pointer;
20 ReadRequest(char *buf, off_t offset, size_t len);
21 virtual ~ReadRequest() {}
59b2d47f 22
b9ae18aa 23 char *buf;
24 off_t offset;
25 size_t len;
59b2d47f 26
b9ae18aa 27private:
28 CBDATA_CLASS2(ReadRequest);
29};
59b2d47f 30
b9ae18aa 31#endif /* SQUID_READREQUEST_H */