Kea: duid_config_parser.h Source File

| Kea 1.5.0

duid_config_parser.h
Go to the documentation of this file.
1 // Copyright (C) 2015,2017 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 DUID_CONFIG_PARSER_H
8 #define DUID_CONFIG_PARSER_H
9
10 #include <cc/data.h>
11 #include <cc/simple_parser.h>
12 #include <stdint.h>
13 #include <string>
14
15 namespace isc {
16 namespace dhcp {
17
26 class DUIDConfigParser : public isc::data::SimpleParser {
27 public:
35 void parse(const CfgDUIDPtr& cfg, isc::data::ConstElementPtr duid_configuration);
36 };
37
38 }
39 } // end of namespace isc
40
41 #endif // DUID_CONFIG_PARSER_H
isc::dhcp::DUIDConfigParser::parse
void parse(const CfgDUIDPtr &cfg, isc::data::ConstElementPtr duid_configuration)
Parses DUID configuration.
Definition: duid_config_parser.cc:27
isc
Defines the logger used by the top-level component of kea-dhcp-ddns.
Definition: agent_parser.cc:144
isc::dhcp::DUIDConfigParser
Parser for server DUID configuration.
Definition: duid_config_parser.h:26
isc::data::SimpleParser
A simple parser.
Definition: lib/cc/simple_parser.h:60
data.h
isc::data::ConstElementPtr
boost::shared_ptr< const Element > ConstElementPtr
Definition: data.h:23
simple_parser.h
isc::dhcp::CfgDUIDPtr
boost::shared_ptr< CfgDUID > CfgDUIDPtr
Pointer to the Non-const object.
Definition: cfg_duid.h:149