Kea  2.3.2-git
hooks_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 HOOKS_PARSER_H
8 #define HOOKS_PARSER_H
9 
10 #include <cc/data.h>
11 #include <cc/simple_parser.h>
12 #include <hooks/hooks_config.h>
13 
14 namespace isc {
15 namespace hooks {
16 
22 public:
23 
59  void parse(HooksConfig& libraries, isc::data::ConstElementPtr value);
60 };
61 
62 }; // namespace isc::hooks
63 }; // namespace isc
64 
65 #endif
Parser for hooks library list.
Definition: hooks_parser.h:21
Wrapper class that holds hooks libraries configuration.
Definition: hooks_config.h:36
boost::shared_ptr< const Element > ConstElementPtr
Definition: data.h:27
Defines the logger used by the top-level component of kea-lfc.
void parse(HooksConfig &libraries, isc::data::ConstElementPtr value)
Parses parameters value.
Definition: hooks_parser.cc:28