]>
Commit | Line | Data |
---|---|---|
bbc27441 | 1 | /* |
bde978a6 | 2 | * Copyright (C) 1996-2015 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. | |
7 | */ | |
8 | ||
92ae4c86 AR |
9 | #ifndef SQUID_CLIENTSTREAM_FORWARD_H |
10 | #define SQUID_CLIENTSTREAM_FORWARD_H | |
11 | ||
3cc0f4e7 | 12 | #include "enums.h" /* for clientStream_status_t */ |
92ae4c86 AR |
13 | |
14 | class Lock; | |
15 | template <class C> class RefCount; | |
16 | ||
92ae4c86 AR |
17 | typedef RefCount<Lock> ClientStreamData; |
18 | ||
19 | /* Callbacks for ClientStreams API */ | |
20 | ||
21 | class clientStreamNode; | |
22 | class ClientHttpRequest; | |
23 | class HttpReply; | |
24 | class StoreIOBuffer; | |
25 | ||
3cc0f4e7 | 26 | /// client stream read callback |
92ae4c86 AR |
27 | typedef void CSCB(clientStreamNode *, ClientHttpRequest *, HttpReply *, StoreIOBuffer); |
28 | ||
3cc0f4e7 | 29 | /// client stream read |
92ae4c86 AR |
30 | typedef void CSR(clientStreamNode *, ClientHttpRequest *); |
31 | ||
3cc0f4e7 | 32 | /// client stream detach |
92ae4c86 AR |
33 | typedef void CSD(clientStreamNode *, ClientHttpRequest *); |
34 | ||
92ae4c86 AR |
35 | typedef clientStream_status_t CSS(clientStreamNode *, ClientHttpRequest *); |
36 | ||
37 | #endif /* SQUID_CLIENTSTREAM_FORWARD_H */ | |
f53969cc | 38 |