Kea  1.5.0
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 */
srv_config.h
isc::dhcp::SanityChecksParser
Simple parser for sanity-checks structure.
Definition: sanity_checks_parser.h:20
isc
Defines the logger used by the top-level component of kea-dhcp-ddns.
Definition: agent_parser.cc:144
isc::data::SimpleParser
A simple parser.
Definition: lib/cc/simple_parser.h:60
isc::dhcp::SrvConfig
Specifies current DHCP configuration.
Definition: srv_config.h:44
isc::data::ConstElementPtr
boost::shared_ptr< const Element > ConstElementPtr
Definition: data.h:23
isc::dhcp::SanityChecksParser::parse
void parse(SrvConfig &srv_cfg, const isc::data::ConstElementPtr &value)
parses JSON structure
Definition: sanity_checks_parser.cc:18
simple_parser.h