]> git.ipfire.org Git - thirdparty/squid.git/blame - src/tests/stub_libicmp.cc
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / tests / stub_libicmp.cc
CommitLineData
4e0938ef 1/*
77b1029d 2 * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
4e0938ef
AJ
3 *
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.
7 */
8
f7f3304a 9#include "squid.h"
98a6543e
AJ
10#define STUB_API "icmp/libicmp.la"
11#include "STUB.h"
12
13#include "icmp/IcmpSquid.h"
14//IcmpSquid::IcmpSquid() STUB
15//IcmpSquid::~IcmpSquid() STUB
16int IcmpSquid::Open() STUB_RETVAL(-1)
17void IcmpSquid::Close() STUB
18void IcmpSquid::DomainPing(Ip::Address &to, const char *domain) STUB
19#if USE_ICMP
20void IcmpSquid::SendEcho(Ip::Address &to, int opcode, const char* payload, int len) STUB
21void IcmpSquid::Recv(void) STUB
22#endif
23//IcmpSquid icmpEngine;
24
25#include "icmp/net_db.h"
26void netdbInit(void) STUB
27void netdbHandlePingReply(const Ip::Address &from, int hops, int rtt) STUB
28void netdbPingSite(const char *hostname) STUB
29void netdbDump(StoreEntry *) STUB
30void netdbFreeMemory(void) STUB
31int netdbHostHops(const char *host) STUB_RETVAL(-1)
32int netdbHostRtt(const char *host) STUB_RETVAL(-1)
c8ab5ec6 33void netdbUpdatePeer(const AnyP::Uri &, CachePeer *, int, int) STUB
98a6543e
AJ
34void netdbDeleteAddrNetwork(Ip::Address &addr) STUB
35void netdbBinaryExchange(StoreEntry *) STUB
36void netdbExchangeStart(void *) STUB
a3c6762c 37void netdbExchangeUpdatePeer(Ip::Address &, CachePeer *, double, double) STUB
cb365059 38CachePeer *netdbClosestParent(PeerSelector *) STUB_RETVAL(nullptr)
98a6543e 39void netdbHostData(const char *host, int *samp, int *rtt, int *hops) STUB
f53969cc 40