2 * Copyright (C) 1996-2014 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.
10 #include "comm/Connection.h"
12 #include "icp_opcode.h"
14 #define STUB_API "icp_*.cc"
15 #include "tests/STUB.h"
18 _icp_common_t::_icp_common_t() STUB
19 _icp_common_t::_icp_common_t(char *buf
, unsigned int len
) STUB
20 void _icp_common_t::handleReply(char *buf
, Ip::Address
&from
) STUB
21 _icp_common_t
*_icp_common_t::createMessage(icp_opcode opcode
, int flags
, const char *url
, int reqnum
, int pad
) STUB_RETVAL(NULL
)
22 icp_opcode
_icp_common_t::getOpCode() const STUB_RETVAL(ICP_INVALID
)
23 ICPState::ICPState(icp_common_t
&aHeader
, HttpRequest
*aRequest
) STUB
24 ICPState::~ICPState() STUB
27 Comm::ConnectionPointer icpIncomingConn
;
28 Comm::ConnectionPointer icpOutgoingConn
;
29 Ip::Address theIcpPublicHostID
;
31 HttpRequest
* icpGetRequest(char *url
, int reqnum
, int fd
, Ip::Address
&from
) STUB_RETVAL(NULL
)
32 bool icpAccessAllowed(Ip::Address
&from
, HttpRequest
* icp_request
) STUB_RETVAL(false)
33 void icpCreateAndSend(icp_opcode
, int flags
, char const *url
, int reqnum
, int pad
, int fd
, const Ip::Address
&from
) STUB
34 icp_opcode
icpGetCommonOpcode() STUB_RETVAL(ICP_INVALID
)
35 int icpUdpSend(int, const Ip::Address
&, icp_common_t
*, LogTags
, int) STUB_RETVAL(0)
36 LogTags
icpLogFromICPCode(icp_opcode opcode
) STUB_RETVAL(LOG_TAG_NONE
)
37 void icpDenyAccess(Ip::Address
&from
, char *url
, int reqnum
, int fd
) STUB
38 void icpHandleIcpV3(int, Ip::Address
&, char *, int) STUB
39 int icpCheckUdpHit(StoreEntry
*, HttpRequest
* request
) STUB_RETVAL(0)
40 void icpConnectionsOpen(void) STUB
41 void icpConnectionShutdown(void) STUB
42 void icpConnectionClose(void) STUB
43 int icpSetCacheKey(const cache_key
* key
) STUB_RETVAL(0)
44 const cache_key
*icpGetCacheKey(const char *url
, int reqnum
) STUB_RETVAL(NULL
)