]> git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/stub_libicmp.cc
Renamed squid.h to squid-old.h and config.h to squid.h
[thirdparty/squid.git] / src / tests / stub_libicmp.cc
1 #include "squid.h"
2 #define STUB_API "icmp/libicmp.la"
3 #include "STUB.h"
4
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
11 #if USE_ICMP
12 void IcmpSquid::SendEcho(Ip::Address &to, int opcode, const char* payload, int len) STUB
13 void IcmpSquid::Recv(void) STUB
14 #endif
15 //IcmpSquid icmpEngine;
16
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