| Kea 3.0.2-git

sanity_checks_parser.h
Go to the documentation of this file.
1// Copyright (C) 2018-2022 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
20 class SanityChecksParser : public isc::data::SimpleParser {
21 public:
26 void parse(SrvConfig& srv_cfg, const isc::data::ConstElementPtr& value);
27};
28
29}
30}
31
32#endif /* SANITY_CHECKS_PARSER_H */
isc::data::SimpleParser
A simple parser.
Definition lib/cc/simple_parser.h:68
isc::dhcp::SanityChecksParser
Simple parser for sanity-checks structure.
Definition sanity_checks_parser.h:20
isc::dhcp::SanityChecksParser::parse
void parse(SrvConfig &srv_cfg, const isc::data::ConstElementPtr &value)
parses JSON structure
Definition sanity_checks_parser.cc:18
isc::dhcp::SrvConfig
Specifies current DHCP configuration.
Definition srv_config.h:50
simple_parser.h
isc::data::ConstElementPtr
boost::shared_ptr< const Element > ConstElementPtr
Definition data.h:29
isc::dhcp
Definition dhcp4/client_handler.cc:20
isc
Defines the logger used by the top-level component of kea-lfc.
Definition agent_parser.cc:148
srv_config.h