]> git.ipfire.org Git - thirdparty/squid.git/blob - src/fs/rock/RockIoRequests.cc
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / fs / rock / RockIoRequests.cc
1 /*
2 * Copyright (C) 1996-2020 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 /* DEBUG: section 79 Disk IO Routines */
10
11 #include "squid.h"
12 #include "fs/rock/RockIoRequests.h"
13
14 CBDATA_NAMESPACED_CLASS_INIT(Rock, ReadRequest);
15 CBDATA_NAMESPACED_CLASS_INIT(Rock, WriteRequest);
16
17 Rock::ReadRequest::ReadRequest(const ::ReadRequest &base, const IoState::Pointer &anSio, const IoXactionId anId):
18 ::ReadRequest(base),
19 sio(anSio),
20 id(anId)
21 {
22 }
23
24 Rock::WriteRequest::WriteRequest(const ::WriteRequest &base, const IoState::Pointer &anSio, const IoXactionId anId):
25 ::WriteRequest(base),
26 sio(anSio),
27 sidPrevious(-1),
28 sidCurrent(-1),
29 id(anId),
30 eof(false)
31 {
32 }
33