stub_libeui.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
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 
11 #define STUB_API "eui/libeui.la"
12 #include "tests/STUB.h"
13 
14 #include "eui/Config.h"
16 
17 #include "eui/Eui48.h"
18 #if USE_SQUID_EUI
19 const unsigned char *Eui::Eui48::get(void) STUB_RETVAL(nullptr)
20 bool Eui::Eui48::decode(const char *) STUB_RETVAL(false)
21 bool Eui::Eui48::encode(char *, const int) const STUB_RETVAL(false)
22 bool Eui::Eui48::lookup(const Ip::Address &) STUB_RETVAL(false)
23 #endif
24 
25 #include "eui/Eui64.h"
26 #if USE_SQUID_EUI
27 const unsigned char *Eui::Eui64::get(void) STUB_RETVAL(nullptr)
28 bool Eui::Eui64::decode(const char *) STUB_RETVAL(false)
29 bool Eui::Eui64::encode(char *, const int) const STUB_RETVAL(false)
30 bool Eui::Eui64::lookup(const Ip::Address &) STUB_RETVAL(false)
31 bool Eui::Eui64::lookupNdp(const Ip::Address &) STUB_RETVAL(false)
32 bool Eui::Eui64::lookupSlaac(const Ip::Address &) STUB_RETVAL(false)
33 #endif
34 
#define STUB_RETVAL(x)
Definition: STUB.h:42
EuiConfig TheConfig
Definition: Config.cc:12
Definition: Xaction.cc:137
const unsigned char * get(void)
Definition: Config.h:12
const unsigned char * get(void)

 

Introduction

Documentation

Support

Miscellaneous