]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/clientStreamForward.h
b2d8fec54233576ff6e6f5416a94dc29b3895127
2 * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
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.
9 #ifndef SQUID_CLIENTSTREAM_FORWARD_H
10 #define SQUID_CLIENTSTREAM_FORWARD_H
12 #include "enums.h" /* for clientStream_status_t */
15 template <class C
> class RefCount
;
17 typedef RefCount
<Lock
> ClientStreamData
;
19 /* Callbacks for ClientStreams API */
21 class clientStreamNode
;
22 class ClientHttpRequest
;
26 /// client stream read callback
27 typedef void CSCB(clientStreamNode
*, ClientHttpRequest
*, HttpReply
*, StoreIOBuffer
);
29 /// client stream read
30 typedef void CSR(clientStreamNode
*, ClientHttpRequest
*);
32 /// client stream detach
33 typedef void CSD(clientStreamNode
*, ClientHttpRequest
*);
35 typedef clientStream_status_t
CSS(clientStreamNode
*, ClientHttpRequest
*);
37 #endif /* SQUID_CLIENTSTREAM_FORWARD_H */