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