]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/stub_libicmp.cc
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 #define STUB_API "icmp/libicmp.la"
13 #include "icmp/IcmpSquid.h"
14 //IcmpSquid::IcmpSquid() STUB
15 //IcmpSquid::~IcmpSquid() STUB
16 int IcmpSquid::Open() STUB_RETVAL(-1)
17 void IcmpSquid::Close() STUB
18 void IcmpSquid::DomainPing(Ip::Address
&to
, const char *domain
) STUB
20 void IcmpSquid::SendEcho(Ip::Address
&to
, int opcode
, const char* payload
, int len
) STUB
21 void IcmpSquid::Recv(void) STUB
23 //IcmpSquid icmpEngine;
25 #include "icmp/net_db.h"
26 void netdbInit(void) STUB
27 void netdbHandlePingReply(const Ip::Address
&from
, int hops
, int rtt
) STUB
28 void netdbPingSite(const char *hostname
) STUB
29 void netdbDump(StoreEntry
*) STUB
30 void netdbFreeMemory(void) STUB
31 int netdbHostHops(const char *host
) STUB_RETVAL(-1)
32 int netdbHostRtt(const char *host
) STUB_RETVAL(-1)
33 void netdbUpdatePeer(HttpRequest
*, CachePeer
* e
, int rtt
, int hops
) STUB
34 void netdbDeleteAddrNetwork(Ip::Address
&addr
) STUB
35 void netdbBinaryExchange(StoreEntry
*) STUB
36 void netdbExchangeStart(void *) STUB
37 void netdbExchangeUpdatePeer(Ip::Address
&, CachePeer
*, double, double) STUB
38 CachePeer
*netdbClosestParent(HttpRequest
*) STUB_RETVAL(NULL
)
39 void netdbHostData(const char *host
, int *samp
, int *rtt
, int *hops
) STUB