]> git.ipfire.org Git - thirdparty/squid.git/blame - src/tests/stub_libip.cc
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / src / tests / stub_libip.cc
CommitLineData
912864c2 1/*
5b74111a 2 * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
912864c2
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
9#include "squid.h"
10#include "Store.h"
11
12#define STUB_API "ip/libip.la"
13#include "tests/STUB.h"
14
15#include "ip/QosConfig.h"
16namespace Ip
17{
18namespace Qos
19{
20void getTosFromServer(fde *, const int) {
21#if USE_QOS_TOS
22 STUB
23#endif
24}
25void getNfmarkFromServer(const fde *, const fde *, const int) {
26#if USE_QOS_NFMARK
27 STUB
28#endif
29}
30#if USE_QOS_NFMARK
31int GetNfMarkCallback(enum nf_conntrack_msg_type, struct nf_conntrack *, void *) STUB_RETVAL(-1)
32#endif
33tos_t doTosLocalMiss(const int, const hier_code) STUB_RETVAL(-1)
34int doNfmarkLocalMiss(const int, const hier_code) STUB_RETVAL(-1)
35int doTosLocalHit(const int) STUB_RETVAL(-1)
36int doNfmarkLocalHit(const int) STUB_RETVAL(-1)
37void parseConfigLine() STUB
38void dumpConfigLine(char *, const char *) STUB
39
40Config::Config() {STUB}
41bool Config::isAclNfmarkActive() const STUB_RETVAL(false)
42bool Config::isAclTosActive() const STUB_RETVAL(false)
43}
44}
45