Kea 1.5.0
dhcp4/json_config_parser.h
Go to the documentation of this file.
1// Copyright (C) 2012-2018 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#include <cc/data.h>
10
11#include <stdint.h>
12#include <string>
13
14#ifndef DHCP4_CONFIG_PARSER_H
15#define DHCP4_CONFIG_PARSER_H
16
19
20namespace isc {
21namespace dhcp {
22
23class Dhcpv4Srv;
24
58configureDhcp4Server(Dhcpv4Srv&,
60 bool check_only = false);
61
76bool
78
88void
89databaseConfigFetch(const SrvConfigPtr& srv_cfg, isc::data::ElementPtr mutable_cfg);
90
91}; // end of isc::dhcp namespace
92}; // end of isc namespace
93
94#endif // DHCP4_CONFIG_PARSER_H
boost::shared_ptr< const Element > ConstElementPtr
Definition: data.h:23
boost::shared_ptr< Element > ElementPtr
Definition: data.h:22
void databaseConfigFetch(const SrvConfigPtr &srv_cfg, ElementPtr)
Fetch configuration from CB databases and merge it into the given configuration.
bool databaseConfigConnect(const SrvConfigPtr &srv_cfg)
Attempts to connect to configured CB databases.
isc::data::ConstElementPtr configureDhcp4Server(Dhcpv4Srv &server, isc::data::ConstElementPtr config_set, bool check_only)
Configure DHCPv4 server (Dhcpv4Srv) with a set of configuration values.
boost::shared_ptr< SrvConfig > SrvConfigPtr
Non-const pointer to the SrvConfig.
Definition: srv_config.h:707
Defines the logger used by the top-level component of kea-dhcp-ddns.