]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1453] include config.h in non-generated .cc files
authorAndrei Pavel <andrei@isc.org>
Mon, 5 Oct 2020 14:08:21 +0000 (17:08 +0300)
committerAndrei Pavel <andrei@isc.org>
Fri, 30 Oct 2020 15:00:46 +0000 (17:00 +0200)
34 files changed:
src/bin/d2/d2_simple_parser.cc
src/bin/perfdhcp/avalanche_scen.cc
src/bin/perfdhcp/basic_scen.cc
src/bin/perfdhcp/perf_socket.cc
src/bin/perfdhcp/receiver.cc
src/bin/perfdhcp/stats_mgr.cc
src/hooks/dhcp/high_availability/ha_config.cc
src/hooks/dhcp/high_availability/ha_service_states.cc
src/hooks/dhcp/high_availability/tests/ha_service_unittest.cc
src/hooks/dhcp/high_availability/tests/query_filter_unittest.cc
src/lib/cc/base_stamped_element.cc
src/lib/cc/server_tag.cc
src/lib/cc/stamped_element.cc
src/lib/cc/stamped_value.cc
src/lib/database/audit_entry.cc
src/lib/database/backend_selector.cc
src/lib/database/server.cc
src/lib/database/server_collection.cc
src/lib/dhcp/tests/option6_auth_unittest.cc
src/lib/dhcpsrv/cfg_consistency.cc
src/lib/dhcpsrv/sanity_checker.cc
src/lib/hooks/callout_handle_associate.cc
src/lib/hooks/tests/no_version_library.cc
src/lib/log/log_dbglevels.cc
src/lib/process/config_base.cc
src/lib/testutils/threaded_test.cc
src/lib/util/encode/utf8.cc
src/lib/util/multi_threading_mgr.cc
src/lib/yang/adaptor.cc
src/lib/yang/adaptor_config.cc
src/lib/yang/adaptor_host.cc
src/lib/yang/adaptor_option.cc
src/lib/yang/adaptor_pool.cc
src/lib/yang/adaptor_subnet.cc

index a2289412bd5188effb7aeba6927be178efeae993..9d68631708672df5555d3175fc733f47296fe6cd 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <d2/d2_config.h>
 #include <d2/d2_simple_parser.h>
 #include <cc/data.h>
index 0681ea1133163d0aee6d1c101ae2bcbe3058de25..7e0fd6879f6f0c5e0eb9351eeece2e6c364efcbe 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <perfdhcp/avalanche_scen.h>
 
 
index 84ec5be9b98492f432086db00ae61a68f2e084ae..a98d32f008111a57a70e042cee739293baf7fde2 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <perfdhcp/basic_scen.h>
 
 
index dc654b94c75cae0f1b6596813cb1756d22fadd1c..aa67796a1deeea952dc96d622cbf8625e828e413 100644 (file)
@@ -5,6 +5,8 @@
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 
+#include <config.h>
+
 #include <perfdhcp/perf_socket.h>
 #include <perfdhcp/command_options.h>
 #include <perfdhcp/stats_mgr.h>
index 61deba5eb1087dd54799936ebb3c1b02f55e2df8..59549ef2db53636fd34247e3c48160a03895e624 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <perfdhcp/receiver.h>
 #include <perfdhcp/command_options.h>
 
index 98394ac2a0944dbcc6b7e39be24299673a9a2dba..899686c49daa98589a53cf2e9cd37292abd44027 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <perfdhcp/stats_mgr.h>
 
 
index d9aa89d0b23d0a6d5c268fc0a09b2f6326908351..04179d86e498ff88f4f8cd45fdc68391b4c5b799 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <exceptions/exceptions.h>
 #include <util/strutil.h>
 #include <ha_config.h>
index be4f5884fb3972d6a09818cef3721a3fdce5a711..49dd6f9cbb9b2201b395104a2d053fdc341704f4 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <ha_service_states.h>
 
 namespace isc {
index 73ad5b9e1cfc415dc1a9057994cf7d91de924a09..824c5c54464893f51b4a85e6bc4ce89aab107b77 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <asiolink/asio_wrapper.h>
 #include <ha_test.h>
 #include <ha_config.h>
index 3c286ad8e300c6784eb68cc4f5ba2c283d880693..3f54e4dd81850ec1621fb835b0e4c32005f20ad7 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <ha_test.h>
 #include <ha_config.h>
 #include <ha_config_parser.h>
index 83e10ccc007bf0af4a4dd2f7a8ba0626aa89f9cc..eb6e6ac10087a4130925257c8ac9df2f22482c33 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <cc/base_stamped_element.h>
 
 namespace isc {
index cf68d67fb9c475ad4ae07a9edb7ee989e28c760c..f7035d74f6e06414038db29d57a8c10141883572 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <cc/server_tag.h>
 #include <exceptions/exceptions.h>
 #include <util/strutil.h>
index eb147d2d8756b148c2e486ee33b19e41ee4cb243..032807267140464466e768f818d401cb91f82c67 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <cc/stamped_element.h>
 
 namespace isc {
index 1ce5a0bfdf2f9c2f4d82bddbf19f1826e0101310..cdbf8362f9e7a7652c80d604d23bf5d39bdf2291 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <cc/stamped_value.h>
 #include <exceptions/exceptions.h>
 #include <boost/lexical_cast.hpp>
index 4c8782a6ff70b179a2e0c55f6599a5e045a3c7b2..92cb88702f90a642f4f80237d5bff60da57631b3 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <database/audit_entry.h>
 #include <exceptions/exceptions.h>
 #include <boost/make_shared.hpp>
index cea5a53c5a963b30683995caa33ca5191cc9a83a..0cc45c0f2aae5d397ba8ce5c6fff9c9fafe414e3 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <database/backend_selector.h>
 #include <exceptions/exceptions.h>
 #include <climits>
index e023563529d17db0e1856ca3f89e07a6bf857b81..a896f1201428245e72bebde79ef5e5021c9a19a1 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <database/server.h>
 #include <exceptions/exceptions.h>
 #include <boost/make_shared.hpp>
index da892c7d9575d5a28e4018de79e5d1883bf8368f..3343615fb332cee69a039fde0261ded73e96629f 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <database/server_collection.h>
 
 using namespace isc::data;
index 2e4a4a1220a63b6f7515b0ee552de224adee8f4c..f958e696fd896b50c29d8ce20038c714672837e6 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <dhcp/dhcp6.h>
 #include <dhcp/option.h>
 #include <dhcp/option6_auth.h>
index 3ea5fb70864913424b04a993e21beceeebccfac5..0d4b801bcb84a11b0ed9b6602182b502cd8b2b99 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <dhcpsrv/cfg_consistency.h>
 #include <cc/data.h>
 
index 19b1402ea21011436c2d176a77fd64ab5e89ad51..3504becc440ba532d0f1a6940afdd7a8c1f3633a 100644 (file)
@@ -3,6 +3,8 @@
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#include <config.h>
+
 #include <dhcpsrv/sanity_checker.h>
 #include <dhcpsrv/cfg_consistency.h>
 #include <dhcpsrv/cfgmgr.h>
index d6e408e4ab89c034a0d3305ede358821b3653e9b..7e22f807ea007a393d976ece58c8f81f1bfc035a 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <hooks/callout_handle_associate.h>
 #include <hooks/hooks_manager.h>
 
index 17330b903651d7c359b26eeecc99ba388c758d09..06c0ac1ccead1e73e77541a2d3dac6e411e11a7e 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 /// @file
 /// @brief No version function library
 ///
index 86b6f21f4a81d788d898395852e001e8295bf669..0831a793940a2871c6240c2c702919b44a6be4c2 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 namespace isc {
 namespace log {
 
index da835dd4f5ca6fa0e0c01f65368bd0a0bd14d590..1c98b8572dec6516113aaadb19a7c475f9034d36 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <process/config_base.h>
 #include <log/logger_manager.h>
 #include <log/logger_specification.h>
index 1a0126f9c75e3ea50a55aaec2a04f97cd1d00457..165f35464e6515a03369cf09e88888e5acd9bb1e 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <testutils/threaded_test.h>
 
 namespace isc {
index 0c0aadf7e7c178d3f33a203ad7ade2a4f704d1e3..ac9e0d0b31f99d615471ad2353434551f1f2886d 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <util/encode/utf8.h>
 
 namespace isc {
index 5053efe2503021fe3473004f4b394f5657399a11..27f5e8e46df19e476a335428392ac816e597b48e 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <util/multi_threading_mgr.h>
 
 namespace isc {
index 2bae8822ae638d46c34d016a6a75c5d515f5abab..704ac4093d06c47643c54daa68cecee35ec5e18e 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <yang/adaptor.h>
 #include <boost/foreach.hpp>
 
index 5f05d6a03d1728d7409d79246761c664d9a70077..54db1920a2893d3afcd1eb269637fcde26b3a031 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <yang/adaptor_config.h>
 
 using namespace std;
index 3f153d592a7f97cc497c4b5e27ba8ee526a28178..b3221a6903e7e70b0cbab6afadbaffe5c90c18d6 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <util/encode/hex.h>
 #include <util/strutil.h>
 #include <yang/adaptor_host.h>
index e12109b112506afdd6a538c6b4c9e6a59cb2ce4b..db61ac366fa1cf1d8c147e2f0229b918d253d873 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <yang/adaptor_option.h>
 #include <dhcp/std_option_defs.h>
 #include <dhcp/docsis3_option_defs.h>
index 56dbd07ccceaa2abffbf896cb10fea0c7125c9aa..d4d335283f80910d5471c9279d1db7c269d38550 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <yang/adaptor_pool.h>
 #include <yang/yang_models.h>
 
index 862e6b130d64c9f80f64dd7891754a7e9d3755a6..152e34272f0777bf4925221621d9521da54fe637 100644 (file)
@@ -4,6 +4,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+#include <config.h>
+
 #include <yang/adaptor_subnet.h>
 
 using namespace std;