]> git.ipfire.org Git - thirdparty/squid.git/blame - src/tests/stub_libicmp.cc
Fix off by one in snmp subsystem
[thirdparty/squid.git] / src / tests / stub_libicmp.cc
CommitLineData
f7f3304a 1#include "squid.h"
98a6543e
AJ
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
8int IcmpSquid::Open() STUB_RETVAL(-1)
9void IcmpSquid::Close() STUB
10void IcmpSquid::DomainPing(Ip::Address &to, const char *domain) STUB
11#if USE_ICMP
12void IcmpSquid::SendEcho(Ip::Address &to, int opcode, const char* payload, int len) STUB
13void IcmpSquid::Recv(void) STUB
14#endif
15//IcmpSquid icmpEngine;
16
17#include "icmp/net_db.h"
18void netdbInit(void) STUB
19void netdbHandlePingReply(const Ip::Address &from, int hops, int rtt) STUB
20void netdbPingSite(const char *hostname) STUB
21void netdbDump(StoreEntry *) STUB
22void netdbFreeMemory(void) STUB
23int netdbHostHops(const char *host) STUB_RETVAL(-1)
24int netdbHostRtt(const char *host) STUB_RETVAL(-1)
a3c6762c 25void netdbUpdatePeer(HttpRequest *, CachePeer * e, int rtt, int hops) STUB
98a6543e
AJ
26void netdbDeleteAddrNetwork(Ip::Address &addr) STUB
27void netdbBinaryExchange(StoreEntry *) STUB
28void netdbExchangeStart(void *) STUB
a3c6762c
FC
29void netdbExchangeUpdatePeer(Ip::Address &, CachePeer *, double, double) STUB
30CachePeer *netdbClosestParent(HttpRequest *) STUB_RETVAL(NULL)
98a6543e 31void netdbHostData(const char *host, int *samp, int *rtt, int *hops) STUB