Commit 95e9be39 authored by Marcin Siodelski's avatar Marcin Siodelski

[5055] Install selected headers from Kea libraries.

parent 6e4fbb8f
......@@ -41,4 +41,17 @@ libkea_asiolink_la_LIBADD += $(BOOST_LIBS)
# 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
......@@ -48,3 +48,9 @@ libkea_dhcp_ddns_la_LIBADD += $(top_builddir)/src/lib/util/threads/libkea-thread
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
......@@ -10,6 +10,7 @@
#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
......@@ -18,7 +18,6 @@
#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>
......
......@@ -218,6 +218,21 @@ EXTRA_DIST += database_backends.dox libdhcpsrv.dox
# 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)
......
......@@ -8,7 +8,6 @@
#define CLIENT_CLASS_DEF_H
#include <dhcpsrv/cfg_option.h>
#include <eval/token.h>
#include <exceptions/exceptions.h>
#include <string>
......
......@@ -13,32 +13,16 @@
#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:
......
......@@ -42,4 +42,11 @@ libkea_util_la_LDFLAGS = -no-undefined -version-info 2:0:0
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment