# IOAddress is sometimes used in user-library code
libkea_asiolink_includedir = $(pkgincludedir)/asiolink
-libkea_asiolink_include_HEADERS = io_address.h
+libkea_asiolink_include_HEADERS = \
+ asiolink.h \
+ asio_wrapper.h \
+ interval_timer.h \
+ io_address.h \
+ io_asio_socket.h \
+ io_endpoint.h \
+ io_error.h \
+ io_service.h \
+ io_socket.h \
+ tcp_endpoint.h \
+ tcp_socket.h \
+ udp_endpoint.h \
+ udp_socket.h
libkea_dhcp_ddns_la_LIBADD += $(top_builddir)/src/lib/util/libkea-util.la
libkea_dhcp_ddns_la_LIBADD += $(top_builddir)/src/lib/exceptions/libkea-exceptions.la
libkea_dhcp_ddns_la_LIBADD += $(LOG4CPLUS_LIBS) $(CRYPTO_LIBS)
+
+# Specify the headers for copying into the installation directory tree.
+libkea_dhcp_ddns_include_HEADERS = \
+ ncr_io.h \
+ ncr_msg.h \
+ ncr_udp.h
-// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2016 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
#include <asiolink/io_error.h>
#include <cryptolink/cryptolink.h>
#include <cryptolink/crypto_hash.h>
+#include <util/encode/hex.h>
#include <boost/algorithm/string/predicate.hpp>
-// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2016 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
#include <dns/name.h>
#include <exceptions/exceptions.h>
#include <util/buffer.h>
-#include <util/encode/hex.h>
#include <util/time_utilities.h>
#include <time.h>
# Specification file
EXTRA_DIST += logging.spec
+# Specify the headers for copying into the installation directory tree. The
+# following headers are anticipated to be useful for the user libraries.
+libkea_dhcpsrv_include_HEADERS = \
+ cfg_option.h \
+ cfg_4o6.h \
+ d2_client_cfg.h \
+ d2_client_mgr.h \
+ key_from_key.h \
+ lease.h \
+ ncr_generator.h \
+ pool.h \
+ subnet.h \
+ subnet_id.h \
+ triplet.h \
+
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(dhcp_data_dir)
#define CLIENT_CLASS_DEF_H
#include <dhcpsrv/cfg_option.h>
-#include <eval/token.h>
#include <exceptions/exceptions.h>
#include <string>
#include <dhcp/option_space_container.h>
#include <dhcpsrv/cfg_option.h>
#include <dhcpsrv/cfg_4o6.h>
+#include <dhcpsrv/lease.h>
#include <dhcpsrv/pool.h>
+#include <dhcpsrv/subnet_id.h
#include <dhcpsrv/triplet.h>
-#include <dhcpsrv/lease.h>
#include <boost/shared_ptr.hpp>
namespace isc {
namespace dhcp {
-/// @brief a base class for Subnet4 and Subnet6
-///
-/// This class presents a common base for IPv4 and IPv6 subnets.
-/// In a physical sense, a subnet defines a single network link with all devices
-/// attached to it. In most cases all devices attached to a single link can
-/// share the same parameters. Therefore Subnet holds several values that are
-/// typically shared by all hosts: renew timer (T1), rebind timer (T2) and
-/// leased addresses lifetime (valid-lifetime). It also holds the set
-/// of DHCP option instances configured for the subnet. These options are
-/// included in DHCP messages being sent to clients which are connected
-/// to the particular subnet.
-///
-/// @todo: Implement support for options here
-
-/// @brief Unique identifier for a subnet (both v4 and v6)
-typedef uint32_t SubnetID;
-
class Subnet {
public:
CLEANFILES = *.gcno *.gcda
libkea_util_includedir = $(includedir)/$(PACKAGE_NAME)/util
-libkea_util_include_HEADERS = buffer.h io_utilities.h strutil.h staged_value.h
+libkea_util_include_HEADERS = \
+ buffer.h \
+ io_utilities.h \
+ optional_value.h \
+ pointer_util.h \
+ stopwatch.h \
+ strutil.h \
+ staged_value.h