 |
Kea
1.5.0
|
Go to the documentation of this file.
47 libraries_.push_back(make_pair(libname, parameters));
108 #endif // HOOKS_CONFIG_H
Exception thrown when a library failed to validate.
void verifyLibraries(const isc::data::Element::Position &position) const
Verifies that libraries stored in libraries_ are valid.
Abstract class for configuration Cfg_* classes.
bool equal(const HooksConfig &other) const
Compares two Hooks Config classes for equality.
InvalidHooksLibraries(const char *file, size_t line, const char *what)
const isc::hooks::HookLibsCollection & get() const
Provides access to the configured hooks libraries.
This is a base class for exceptions thrown from the DNS library module.
Defines the logger used by the top-level component of kea-dhcp-ddns.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
Wrapper class that holds hooks libraries configuration.
void loadLibraries() const
Commits hooks libraries configuration.
Represents the position of the data element within a configuration string.
HooksConfig()
Default constructor.
void clear()
Removes all configured hooks libraries.
isc::data::ElementPtr toElement() const
Unparse a configuration object.
void add(std::string libname, isc::data::ConstElementPtr parameters)
Adds additional hooks libraries.
boost::shared_ptr< Element > ElementPtr
boost::shared_ptr< const Element > ConstElementPtr
std::vector< HookLibInfo > HookLibsCollection
A storage for information about hook libraries.