47 libraries_.push_back(make_pair(libname, parameters));
108 #endif // HOOKS_CONFIG_H
HooksConfig()
Default constructor.
boost::shared_ptr< Element > ElementPtr
Wrapper class that holds hooks libraries configuration.
std::vector< HookLibInfo > HookLibsCollection
A storage for information about hook libraries.
void clear()
Removes all configured hooks libraries.
Abstract class for configuration Cfg_* classes.
isc::data::ElementPtr toElement() const
Unparse a configuration object.
boost::shared_ptr< const Element > ConstElementPtr
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
Represents the position of the data element within a configuration string.
void loadLibraries() const
Commits hooks libraries configuration.
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.
void add(std::string libname, isc::data::ConstElementPtr parameters)
Adds additional hooks libraries.
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.
bool equal(const HooksConfig &other) const
Compares two Hooks Config classes for equality.
InvalidHooksLibraries(const char *file, size_t line, const char *what)