Squid Web Cache master
Loading...
Searching...
No Matches
WriteRequest.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2025 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_WRITEREQUEST_H
10#define SQUID_SRC_DISKIO_WRITEREQUEST_H
11
12#include "base/RefCount.h"
13#include "cbdata.h"
14#include "mem/forward.h"
15
17{
19
20public:
22 WriteRequest(char const *buf, off_t offset, size_t len, FREE *);
23 ~WriteRequest() override {}
24
25 char const *buf;
26 off_t offset;
27 size_t len;
29};
30
31#endif /* SQUID_SRC_DISKIO_WRITEREQUEST_H */
32
#define RefCountable
The locking interface for use on Reference-Counted classes.
Definition Lock.h:66
FREE * free_func
CBDATA_CLASS(WriteRequest)
char const * buf
RefCount< WriteRequest > Pointer
~WriteRequest() override
void FREE(void *)
Definition forward.h:37