]> git.ipfire.org Git - thirdparty/squid.git/blob - src/DiskIO/WriteRequest.h
Boilerplate: update copyright blurbs on src/
[thirdparty/squid.git] / src / DiskIO / WriteRequest.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_WRITEREQUEST_H
10 #define SQUID_WRITEREQUEST_H
11
12 #include "base/RefCount.h"
13 #include "cbdata.h"
14
15 class WriteRequest : public RefCountable
16 {
17
18 public:
19 typedef RefCount<WriteRequest> Pointer;
20 WriteRequest(char const *buf, off_t offset, size_t len, FREE *);
21 virtual ~WriteRequest() {}
22
23 char const *buf;
24 off_t offset;
25 size_t len;
26 FREE *free_func;
27
28 private:
29 CBDATA_CLASS2(WriteRequest);
30 };
31
32 #endif /* SQUID_WRITEREQUEST_H */