Kea  1.5.0
shared_network_parser.h
Go to the documentation of this file.
1 // Copyright (C) 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 SHARED_SUBNET_PARSER_H
8 #define SHARED_SUBNET_PARSER_H
9 
10 #include <cc/data.h>
11 #include <cc/simple_parser.h>
12 #include <dhcpsrv/cfg_subnets4.h>
13 #include <dhcpsrv/cfg_subnets6.h>
14 #include <dhcpsrv/shared_network.h>
15 
16 namespace isc {
17 namespace dhcp {
18 
21 public:
22 
31  parse(const data::ConstElementPtr& shared_network_data);
32 };
33 
36 public:
37 
46  parse(const data::ConstElementPtr& shared_network_data);
47 };
48 
49 } // enf of namespace isc::dhcp
50 } // end of namespace isc
51 
52 #endif // SHARED_SUBNET_PARSER_H
Implements parser for IPv4 shared networks.
SharedNetwork6Ptr parse(const data::ConstElementPtr &shared_network_data)
Parses shared configuration information for IPv6 shared network.
boost::shared_ptr< const Element > ConstElementPtr
Definition: data.h:23
boost::shared_ptr< SharedNetwork6 > SharedNetwork6Ptr
Pointer to SharedNetwork6 object.
boost::shared_ptr< SharedNetwork4 > SharedNetwork4Ptr
Pointer to SharedNetwork4 object.
Defines the logger used by the top-level component of kea-dhcp-ddns.
Implements parser for IPv6 shared networks.
SharedNetwork4Ptr parse(const data::ConstElementPtr &shared_network_data)
Parses shared configuration information for IPv4 shared network.