Kea
2.7.8
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
d
e
f
h
i
k
m
n
o
p
r
s
t
u
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Typedefs
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Enumerations
a
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
y
Related Symbols
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
y
Functions
a
b
c
d
e
g
h
i
l
m
n
p
q
r
s
u
v
w
y
Variables
b
c
d
e
f
h
l
n
o
p
q
r
s
t
u
y
Typedefs
Enumerations
Enumerator
d
s
Macros
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
y
▼
Kea
►
Kea Developer's Guide
►
Kea Bootp Hooks Library
►
Kea Flexible Option Hooks Library
►
Kea PerfMon Hooks Library
►
libkea-d2srv - Kea D2 Server Library
►
libkea-kea_tcp - TCP Listener Library
Todo List
►
Topics
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
src
►
bin
►
hooks
▼
lib
►
asiodns
►
asiolink
►
cc
►
config
►
config_backend
►
cryptolink
►
d2srv
►
database
►
dhcp
►
dhcp_ddns
►
dhcpsrv
►
dns
►
eval
►
exceptions
►
hooks
►
http
►
log
►
mysql
►
pgsql
►
process
►
stats
►
tcp
►
testutils
▼
util
►
encode
►
io
▼
unittests
►
check_valgrind.cc
►
check_valgrind.h
►
fork.cc
►
fork.h
►
interprocess_util.cc
►
interprocess_util.h
►
newhook.cc
newhook.h
►
resource.cc
►
resource.h
►
run_all.cc
►
run_all.h
►
testdata.cc
►
testdata.h
►
textdata.h
►
wiredata.cc
►
wiredata.h
►
bigints.h
boost_time_utils.cc
►
boost_time_utils.h
►
buffer.h
►
chrono_time_utils.cc
►
chrono_time_utils.h
►
csv_file.cc
►
csv_file.h
►
dhcp_space.cc
►
dhcp_space.h
►
doubles.h
►
filesystem.cc
►
filesystem.h
►
hash.h
►
io.h
►
labeled_value.cc
►
labeled_value.h
►
memory_segment.h
memory_segment_local.cc
►
memory_segment_local.h
multi_threading_mgr.cc
►
multi_threading_mgr.h
►
optional.h
pid_file.cc
►
pid_file.h
►
pointer_util.h
►
range_utilities.h
►
readwrite_mutex.h
reconnect_ctl.cc
►
reconnect_ctl.h
►
staged_value.h
state_model.cc
►
state_model.h
stopwatch.cc
►
stopwatch.h
stopwatch_impl.cc
►
stopwatch_impl.h
►
str.cc
►
str.h
►
thread_pool.h
►
triplet.h
►
unlock_guard.h
versioned_csv_file.cc
►
versioned_csv_file.h
watch_socket.cc
►
watch_socket.h
watched_thread.cc
►
watched_thread.h
►
yang
►
File Members
check_valgrind.cc
Go to the documentation of this file.
1
// Copyright (C) 2012-2025 Internet Systems Consortium, Inc. ("ISC")
2
//
3
// This Source Code Form is subject to the terms of the Mozilla Public
4
// License, v. 2.0. If a copy of the MPL was not distributed with this
5
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7
#include <config.h>
8
9
namespace
isc
{
10
namespace
util {
11
namespace
unittests {
12
13
#ifdef HAVE_VALGRIND_HEADERS
14
#include <valgrind/valgrind.h>
20
bool
21
runningOnValgrind
() {
22
return
(RUNNING_ON_VALGRIND != 0);
23
}
24
#else
25
bool
26
runningOnValgrind
() {
27
return
(
false
);
28
}
26
runningOnValgrind
() {
…
}
29
#endif
// HAVE_VALGRIND_HEADERS
30
31
}
// end of namespace unittests
11
namespace
unittests {
…
}
32
}
// end of namespace util
33
}
// end of namespace isc
isc::util::unittests::runningOnValgrind
bool runningOnValgrind()
Check if the program is run in valgrind.
Definition
check_valgrind.cc:26
isc
Defines the logger used by the top-level component of kea-lfc.
Definition
agent_parser.cc:148
src
lib
util
unittests
check_valgrind.cc
Generated on Fri Apr 4 2025 17:50:30 for Kea by
1.12.0