/* * Copyright (C) 1996-2017 The Squid Software Foundation and contributors * * Squid software is distributed under GPLv2+ license and includes * contributions from numerous individuals and organizations. * Please see the COPYING and CONTRIBUTORS files for details. */ #ifndef SQUID_CLIENTSTREAM_FORWARD_H #define SQUID_CLIENTSTREAM_FORWARD_H #include "enums.h" /* for clientStream_status_t */ class Lock; template class RefCount; typedef RefCount ClientStreamData; /* Callbacks for ClientStreams API */ class clientStreamNode; class ClientHttpRequest; class HttpReply; class StoreIOBuffer; /// client stream read callback typedef void CSCB(clientStreamNode *, ClientHttpRequest *, HttpReply *, StoreIOBuffer); /// client stream read typedef void CSR(clientStreamNode *, ClientHttpRequest *); /// client stream detach typedef void CSD(clientStreamNode *, ClientHttpRequest *); typedef clientStream_status_t CSS(clientStreamNode *, ClientHttpRequest *); #endif /* SQUID_CLIENTSTREAM_FORWARD_H */