]> git.ipfire.org Git - thirdparty/squid.git/blame - src/fs/rock/RockIoRequests.cc
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / fs / rock / RockIoRequests.cc
CommitLineData
e2851fe7 1/*
f70aedc4 2 * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
bbc27441
AJ
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.
e2851fe7
AR
7 */
8
bbc27441
AJ
9/* DEBUG: section 79 Disk IO Routines */
10
f7f3304a 11#include "squid.h"
e2851fe7
AR
12#include "fs/rock/RockIoRequests.h"
13
14CBDATA_NAMESPACED_CLASS_INIT(Rock, ReadRequest);
15CBDATA_NAMESPACED_CLASS_INIT(Rock, WriteRequest);
16
18102f7d 17Rock::ReadRequest::ReadRequest(const ::ReadRequest &base, const IoState::Pointer &anSio, const IoXactionId anId):
f53969cc 18 ::ReadRequest(base),
18102f7d
EB
19 sio(anSio),
20 id(anId)
e2851fe7
AR
21{
22}
23
18102f7d 24Rock::WriteRequest::WriteRequest(const ::WriteRequest &base, const IoState::Pointer &anSio, const IoXactionId anId):
f53969cc
SM
25 ::WriteRequest(base),
26 sio(anSio),
18102f7d 27 sidPrevious(-1),
f53969cc 28 sidCurrent(-1),
18102f7d 29 id(anId),
f53969cc 30 eof(false)
e2851fe7
AR
31{
32}
f53969cc 33