diff options
author | Francis Dupont <fdupont@isc.org> | 2018-08-16 16:50:29 +0200 |
---|---|---|
committer | Tomek Mrugalski <tomek@isc.org> | 2018-08-31 09:04:08 +0200 |
commit | 12411724a0cc3289f15948cf981ea9962d90494f (patch) | |
tree | 6f3e75df464eeb48f82958e2f466b082a59d4252 | |
parent | [master] Added ChangeLog entry 1447 for Gitlab #14,!15 (diff) | |
download | kea-12411724a0cc3289f15948cf981ea9962d90494f.tar.xz kea-12411724a0cc3289f15948cf981ea9962d90494f.zip |
[19-move-address-utilities] Moved address utilitieslibyang-models_baselibyang-generic_baselibyang-adaptor_basegitlab20_base
-rw-r--r-- | src/bin/dhcp4/dhcp4_srv.cc | 2 | ||||
-rw-r--r-- | src/bin/dhcp6/tests/config_parser_unittest.cc | 2 | ||||
-rw-r--r-- | src/lib/asiolink/Makefile.am | 2 | ||||
-rw-r--r-- | src/lib/asiolink/addr_utilities.cc (renamed from src/lib/dhcpsrv/addr_utilities.cc) | 4 | ||||
-rw-r--r-- | src/lib/asiolink/addr_utilities.h (renamed from src/lib/dhcpsrv/addr_utilities.h) | 0 | ||||
-rw-r--r-- | src/lib/asiolink/tests/Makefile.am | 1 | ||||
-rw-r--r-- | src/lib/asiolink/tests/addr_utilities_unittest.cc (renamed from src/lib/dhcpsrv/tests/addr_utilities_unittest.cc) | 2 | ||||
-rw-r--r-- | src/lib/dhcpsrv/Makefile.am | 2 | ||||
-rw-r--r-- | src/lib/dhcpsrv/cfg_subnets4.cc | 2 | ||||
-rw-r--r-- | src/lib/dhcpsrv/cfg_subnets6.cc | 2 | ||||
-rw-r--r-- | src/lib/dhcpsrv/pool.cc | 2 | ||||
-rw-r--r-- | src/lib/dhcpsrv/subnet.cc | 2 | ||||
-rw-r--r-- | src/lib/dhcpsrv/tests/Makefile.am | 1 |
13 files changed, 12 insertions, 12 deletions
diff --git a/src/bin/dhcp4/dhcp4_srv.cc b/src/bin/dhcp4/dhcp4_srv.cc index f13723dfdc..2905c031f0 100644 --- a/src/bin/dhcp4/dhcp4_srv.cc +++ b/src/bin/dhcp4/dhcp4_srv.cc @@ -23,7 +23,7 @@ #include <dhcp4/dhcp4to6_ipc.h> #include <dhcp4/dhcp4_log.h> #include <dhcp4/dhcp4_srv.h> -#include <dhcpsrv/addr_utilities.h> +#include <asiolink/addr_utilities.h> #include <dhcpsrv/cfgmgr.h> #include <dhcpsrv/cfg_host_operations.h> #include <dhcpsrv/cfg_iface.h> diff --git a/src/bin/dhcp6/tests/config_parser_unittest.cc b/src/bin/dhcp6/tests/config_parser_unittest.cc index 76c3c5f4a2..ce25a1aa7e 100644 --- a/src/bin/dhcp6/tests/config_parser_unittest.cc +++ b/src/bin/dhcp6/tests/config_parser_unittest.cc @@ -17,7 +17,7 @@ #include <dhcp6/json_config_parser.h> #include <dhcp6/dhcp6_srv.h> #include <dhcp6/ctrl_dhcp6_srv.h> -#include <dhcpsrv/addr_utilities.h> +#include <asiolink/addr_utilities.h> #include <dhcpsrv/cfgmgr.h> #include <dhcpsrv/cfg_expiration.h> #include <dhcpsrv/cfg_hosts.h> diff --git a/src/lib/asiolink/Makefile.am b/src/lib/asiolink/Makefile.am index f179885397..0e9b37045f 100644 --- a/src/lib/asiolink/Makefile.am +++ b/src/lib/asiolink/Makefile.am @@ -19,6 +19,7 @@ libkea_asiolink_la_LDFLAGS = -no-undefined -version-info 6:1:0 libkea_asiolink_la_SOURCES = asiolink.h libkea_asiolink_la_SOURCES += asio_wrapper.h +libkea_asiolink_la_SOURCES += addr_utilities.cc addr_utilities.h libkea_asiolink_la_SOURCES += dummy_io_cb.h libkea_asiolink_la_SOURCES += interval_timer.cc interval_timer.h libkea_asiolink_la_SOURCES += io_acceptor.h @@ -47,6 +48,7 @@ libkea_asiolink_la_LIBADD += $(BOOST_LIBS) # Specify the headers for copying into the installation directory tree. libkea_asiolink_includedir = $(pkgincludedir)/asiolink libkea_asiolink_include_HEADERS = \ + addr_utilities.h \ asio_wrapper.h \ asiolink.h \ dummy_io_cb.h \ diff --git a/src/lib/dhcpsrv/addr_utilities.cc b/src/lib/asiolink/addr_utilities.cc index 005d088005..fb2ff366c6 100644 --- a/src/lib/dhcpsrv/addr_utilities.cc +++ b/src/lib/asiolink/addr_utilities.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2012-2017 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2012-2018 Internet Systems Consortium, Inc. ("ISC") // // 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 @@ -6,7 +6,7 @@ #include <config.h> -#include <dhcpsrv/addr_utilities.h> +#include <asiolink/addr_utilities.h> #include <exceptions/exceptions.h> #include <vector> diff --git a/src/lib/dhcpsrv/addr_utilities.h b/src/lib/asiolink/addr_utilities.h index 77786e0749..77786e0749 100644 --- a/src/lib/dhcpsrv/addr_utilities.h +++ b/src/lib/asiolink/addr_utilities.h diff --git a/src/lib/asiolink/tests/Makefile.am b/src/lib/asiolink/tests/Makefile.am index 4d6ce6b4e5..0eb92b0109 100644 --- a/src/lib/asiolink/tests/Makefile.am +++ b/src/lib/asiolink/tests/Makefile.am @@ -18,6 +18,7 @@ TESTS = if HAVE_GTEST TESTS += run_unittests run_unittests_SOURCES = run_unittests.cc +run_unittests_SOURCES += addr_utilities_unittest.cc run_unittests_SOURCES += io_address_unittest.cc run_unittests_SOURCES += io_endpoint_unittest.cc run_unittests_SOURCES += io_socket_unittest.cc diff --git a/src/lib/dhcpsrv/tests/addr_utilities_unittest.cc b/src/lib/asiolink/tests/addr_utilities_unittest.cc index f71c6a420d..c246a7a096 100644 --- a/src/lib/dhcpsrv/tests/addr_utilities_unittest.cc +++ b/src/lib/asiolink/tests/addr_utilities_unittest.cc @@ -6,7 +6,7 @@ #include <config.h> -#include <dhcpsrv/addr_utilities.h> +#include <asiolink/addr_utilities.h> #include <exceptions/exceptions.h> #include <gtest/gtest.h> diff --git a/src/lib/dhcpsrv/Makefile.am b/src/lib/dhcpsrv/Makefile.am index aaf4ef0659..8432c7265a 100644 --- a/src/lib/dhcpsrv/Makefile.am +++ b/src/lib/dhcpsrv/Makefile.am @@ -86,7 +86,6 @@ CLEANFILES += *.csv lib_LTLIBRARIES = libkea-dhcpsrv.la libkea_dhcpsrv_la_SOURCES = -libkea_dhcpsrv_la_SOURCES += addr_utilities.cc addr_utilities.h libkea_dhcpsrv_la_SOURCES += alloc_engine.cc alloc_engine.h libkea_dhcpsrv_la_SOURCES += alloc_engine_log.cc alloc_engine_log.h libkea_dhcpsrv_la_SOURCES += assignable_network.h @@ -251,7 +250,6 @@ EXTRA_DIST += database_backends.dox libdhcpsrv.dox # Specify the headers for copying into the installation directory tree. libkea_dhcpsrv_includedir = $(pkgincludedir)/dhcpsrv libkea_dhcpsrv_include_HEADERS = \ - addr_utilities.h \ alloc_engine.h \ alloc_engine_log.h \ assignable_network.h \ diff --git a/src/lib/dhcpsrv/cfg_subnets4.cc b/src/lib/dhcpsrv/cfg_subnets4.cc index 4d12e83e08..754d318e9b 100644 --- a/src/lib/dhcpsrv/cfg_subnets4.cc +++ b/src/lib/dhcpsrv/cfg_subnets4.cc @@ -12,8 +12,8 @@ #include <dhcpsrv/lease_mgr_factory.h> #include <dhcpsrv/shared_network.h> #include <dhcpsrv/subnet_id.h> -#include <dhcpsrv/addr_utilities.h> #include <asiolink/io_address.h> +#include <asiolink/addr_utilities.h> #include <stats/stats_mgr.h> #include <sstream> diff --git a/src/lib/dhcpsrv/cfg_subnets6.cc b/src/lib/dhcpsrv/cfg_subnets6.cc index 0d058b3954..ed8592d713 100644 --- a/src/lib/dhcpsrv/cfg_subnets6.cc +++ b/src/lib/dhcpsrv/cfg_subnets6.cc @@ -7,11 +7,11 @@ #include <config.h> #include <dhcp/dhcp6.h> #include <dhcp/option_custom.h> +#include <asiolink/addr_utilities.h> #include <dhcpsrv/cfg_subnets6.h> #include <dhcpsrv/dhcpsrv_log.h> #include <dhcpsrv/lease_mgr_factory.h> #include <dhcpsrv/subnet_id.h> -#include <dhcpsrv/addr_utilities.h> #include <stats/stats_mgr.h> #include <boost/foreach.hpp> #include <string.h> diff --git a/src/lib/dhcpsrv/pool.cc b/src/lib/dhcpsrv/pool.cc index cba3b0f41f..9a3306d264 100644 --- a/src/lib/dhcpsrv/pool.cc +++ b/src/lib/dhcpsrv/pool.cc @@ -7,7 +7,7 @@ #include <config.h> #include <asiolink/io_address.h> -#include <dhcpsrv/addr_utilities.h> +#include <asiolink/addr_utilities.h> #include <dhcpsrv/pool.h> #include <sstream> diff --git a/src/lib/dhcpsrv/subnet.cc b/src/lib/dhcpsrv/subnet.cc index ae4aefe306..993d5495c8 100644 --- a/src/lib/dhcpsrv/subnet.cc +++ b/src/lib/dhcpsrv/subnet.cc @@ -7,8 +7,8 @@ #include <config.h> #include <asiolink/io_address.h> +#include <asiolink/addr_utilities.h> #include <dhcp/option_space.h> -#include <dhcpsrv/addr_utilities.h> #include <dhcpsrv/shared_network.h> #include <dhcpsrv/subnet.h> #include <algorithm> diff --git a/src/lib/dhcpsrv/tests/Makefile.am b/src/lib/dhcpsrv/tests/Makefile.am index 72afb9f705..d2ec70d85b 100644 --- a/src/lib/dhcpsrv/tests/Makefile.am +++ b/src/lib/dhcpsrv/tests/Makefile.am @@ -57,7 +57,6 @@ libco3_la_LDFLAGS = -avoid-version -export-dynamic -module -rpath /nowhere TESTS += libdhcpsrv_unittests libdhcpsrv_unittests_SOURCES = run_unittests.cc -libdhcpsrv_unittests_SOURCES += addr_utilities_unittest.cc libdhcpsrv_unittests_SOURCES += alloc_engine_utils.cc alloc_engine_utils.h libdhcpsrv_unittests_SOURCES += alloc_engine_expiration_unittest.cc libdhcpsrv_unittests_SOURCES += alloc_engine_hooks_unittest.cc |