7 #ifndef LIBRARY_MANAGER_H
8 #define LIBRARY_MANAGER_H
12 #include <boost/shared_ptr.hpp>
89 const boost::shared_ptr<CalloutManager>& manager);
141 return (library_name_);
233 boost::shared_ptr<CalloutManager> manager_;
235 std::string library_name_;
244 #endif // LIBRARY_MANAGER_H
bool unloadLibrary()
Unloads a library.
std::string getName() const
Return library name.
bool checkMultiThreadingCompatible() const
Check multi-threading compatibility.
bool loadLibrary()
Loads a library.
bool checkVersion() const
Check library version.
boost::shared_ptr< ServerHooks > ServerHooksPtr
static bool validateLibrary(const std::string &name)
Validate library.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
void registerStandardCallouts()
Register standard callouts.
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.
~LibraryManager()
Destructor.
bool prepareUnloadLibrary()
Prepares library unloading.
bool runLoad()
Run the load function if present.
NoCalloutManager(const char *file, size_t line, const char *what)
bool openLibrary()
Open library.
bool closeLibrary()
Close library.
LibraryManager(const std::string &name, int index, const boost::shared_ptr< CalloutManager > &manager)
Constructor.