]> git.ipfire.org Git - thirdparty/squid.git/blob - src/fs/rock/RockIoRequests.cc
e74f5031fd40104174474bcba3bf4c952856c4e2
[thirdparty/squid.git] / src / fs / rock / RockIoRequests.cc
1 /*
2 * Copyright (C) 1996-2016 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,
18 const IoState::Pointer &anSio):
19 ::ReadRequest(base),
20 sio(anSio)
21 {
22 }
23
24 Rock::WriteRequest::WriteRequest(const ::WriteRequest &base,
25 const IoState::Pointer &anSio):
26 ::WriteRequest(base),
27 sio(anSio),
28 sidCurrent(-1),
29 sidNext(-1),
30 eof(false)
31 {
32 }
33