16 const std::string& cfgname )
18 cfgname_ (cfgname.empty() ? libname : cfgname) {
25std::vector<std::string>
27 std::vector<std::string> names;
29 for (
auto const& it : libraries) {
30 names.push_back(it.libname_);
boost::shared_ptr< const Element > ConstElementPtr
std::vector< std::string > extractNames(const isc::hooks::HookLibsCollection &libraries)
Extracts names from HookLibsCollection.
std::vector< HookLibInfo > HookLibsCollection
A storage for information about hook libraries.
Defines the logger used by the top-level component of kea-lfc.
std::string cfgname_
Configured library name (e.g. rom 'library')
std::string libname_
Full file path of the library.
bool operator==(const HookLibInfo &other) const
Compare two HookLibInfos for equality.
data::ConstElementPtr parameters_
Set of configured parameters (if any)
HookLibInfo(const std::string &libname, isc::data::ConstElementPtr parameters, const std::string &cfgname="")