\ingroup ServerProtocolICPAPI
*/
-#include "squid.h"
+#include "squid-old.h"
#include "Store.h"
#include "ICP.h"
#include "HttpRequest.h"
/// \ingroup ServerProtocolICPInternal3
static void
-doV3Query(int fd, IpAddress &from, char *buf, icp_common_t header)
+doV3Query(int fd, Ip::Address &from, char *buf, icp_common_t header)
{
/* We have a valid packet */
- char *url = buf + sizeof(icp_common_t) + sizeof(u_int32_t);
+ char *url = buf + sizeof(icp_common_t) + sizeof(uint32_t);
HttpRequest *icp_request = icpGetRequest (url, header.reqnum, fd, from);
if (!icp_request)
/// \ingroup ServerProtocolICPInternal3
/* Currently Harvest cached-2.x uses ICP_VERSION_3 */
void
-icpHandleIcpV3(int fd, IpAddress&from, char *buf, int len)
+icpHandleIcpV3(int fd, Ip::Address &from, char *buf, int len)
{
if (len <= 0) {
debugs(12, 3, "icpHandleIcpV3: ICP message is too small");