Kea
1.5.0
newhook.h
Go to the documentation of this file.
1
// Copyright (C) 2011-2015 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
#ifndef UTIL_UNITTESTS_NEWHOOK_H
8
#define UTIL_UNITTESTS_NEWHOOK_H 1
9
46
namespace
isc
{
47
namespace
util {
48
namespace
unittests {
52
extern
bool
force_throw_on_new
;
53
65
extern
size_t
throw_size_on_new
;
66
}
67
}
68
}
69
70
#endif // UTIL_UNITTESTS_NEWHOOK_H
71
72
// Local Variables:
73
// mode: c++
74
// End:
isc
Defines the logger used by the top-level component of kea-dhcp-ddns.
Definition:
agent_parser.cc:144
isc::util::unittests::throw_size_on_new
size_t throw_size_on_new
The allocation size that triggers an exception in the special operator new.
Definition:
newhook.cc:42
isc::util::unittests::force_throw_on_new
bool force_throw_on_new
Switch to enable the use of special operator new.
Definition:
newhook.cc:41
src
lib
util
unittests
newhook.h
Generated on Fri Jul 10 2020 09:12:51 for Kea by
1.8.18