]> git.ipfire.org Git - thirdparty/squid.git/blame - src/DiskIO/WriteRequest.h
Maintenance: automate header guards 2/3 (#1655)
[thirdparty/squid.git] / src / DiskIO / WriteRequest.h
CommitLineData
59b2d47f 1/*
b8ae064d 2 * Copyright (C) 1996-2023 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_WRITEREQUEST_H
10#define SQUID_SRC_DISKIO_WRITEREQUEST_H
59b2d47f 11
8bf217bd 12#include "base/RefCount.h"
aa839030 13#include "cbdata.h"
6f5dc9e4 14#include "mem/forward.h"
59b2d47f 15
b9ae18aa 16class WriteRequest : public RefCountable
59b2d47f 17{
5c2f68b7 18 CBDATA_CLASS(WriteRequest);
59b2d47f 19
20public:
b9ae18aa 21 typedef RefCount<WriteRequest> Pointer;
22 WriteRequest(char const *buf, off_t offset, size_t len, FREE *);
337b9aa4 23 ~WriteRequest() override {}
59b2d47f 24
b9ae18aa 25 char const *buf;
26 off_t offset;
27 size_t len;
28 FREE *free_func;
b9ae18aa 29};
59b2d47f 30
ff9d9458 31#endif /* SQUID_SRC_DISKIO_WRITEREQUEST_H */
f53969cc 32