Kea 2.7.6
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
13namespace isc {
14namespace 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 */
Simple parser for sanity-checks structure.
void parse(SrvConfig &srv_cfg, const isc::data::ConstElementPtr &value)
parses JSON structure
Specifies current DHCP configuration.
Definition srv_config.h:209
boost::shared_ptr< const Element > ConstElementPtr
Definition data.h:29
Defines the logger used by the top-level component of kea-lfc.