Kea  1.9.9-git
sanity_checks_parser.h
Go to the documentation of this file.
1 // Copyright (C) 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 #ifndef SANITY_CHECKS_PARSER_H
8 #define SANITY_CHECKS_PARSER_H
9 
10 #include <cc/simple_parser.h>
11 #include <dhcpsrv/srv_config.h>
12 
13 namespace isc {
14 namespace dhcp {
15 
21  public:
26  void parse(SrvConfig& srv_cfg, const isc::data::ConstElementPtr& value);
27 };
28 
29 };
30 };
31 
32 #endif /* SANITY_CHECKS_PARSER_H */
boost::shared_ptr< const Element > ConstElementPtr
Definition: data.h:23
Simple parser for sanity-checks structure.
Specifies current DHCP configuration.
Definition: srv_config.h:167
Defines the logger used by the top-level component of kea-dhcp-ddns.
void parse(SrvConfig &srv_cfg, const isc::data::ConstElementPtr &value)
parses JSON structure