]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/stub_libicmp.cc
2 #define STUB_API "icmp/libicmp.la"
5 #include "icmp/IcmpSquid.h"
6 //IcmpSquid::IcmpSquid() STUB
7 //IcmpSquid::~IcmpSquid() STUB
8 int IcmpSquid::Open() STUB_RETVAL(-1)
9 void IcmpSquid::Close() STUB
10 void IcmpSquid::DomainPing(Ip::Address
&to
, const char *domain
) STUB
12 void IcmpSquid::SendEcho(Ip::Address
&to
, int opcode
, const char* payload
, int len
) STUB
13 void IcmpSquid::Recv(void) STUB
15 //IcmpSquid icmpEngine;
17 #include "icmp/net_db.h"
18 void netdbInit(void) STUB
19 void netdbHandlePingReply(const Ip::Address
&from
, int hops
, int rtt
) STUB
20 void netdbPingSite(const char *hostname
) STUB
21 void netdbDump(StoreEntry
*) STUB
22 void netdbFreeMemory(void) STUB
23 int netdbHostHops(const char *host
) STUB_RETVAL(-1)
24 int netdbHostRtt(const char *host
) STUB_RETVAL(-1)
25 void netdbUpdatePeer(HttpRequest
*, peer
* e
, int rtt
, int hops
) STUB
26 void netdbDeleteAddrNetwork(Ip::Address
&addr
) STUB
27 void netdbBinaryExchange(StoreEntry
*) STUB
28 void netdbExchangeStart(void *) STUB
29 void netdbExchangeUpdatePeer(Ip::Address
&, peer
*, double, double) STUB
30 peer
*netdbClosestParent(HttpRequest
*) STUB_RETVAL(NULL
)
31 void netdbHostData(const char *host
, int *samp
, int *rtt
, int *hops
) STUB