12 #include <boost/function.hpp> 166 const char* source = NULL);
173 #endif // MASTERLOAD_H The Name class encapsulates DNS names.
boost::function< void(RRsetPtr)> MasterLoadCallback
The type of the callback parameter of masterLoad().
An exception that is thrown if an error occurs while loading a master zone data.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
The RRClass class encapsulates DNS resource record classes.
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.
MasterLoadError(const char *file, size_t line, const char *what)
boost::shared_ptr< AbstractRRset > RRsetPtr
A pointer-like type pointing to an RRset object.
void masterLoad(const char *const filename, const Name &origin, const RRClass &zone_class, MasterLoadCallback callback)
Master zone file loader from a file.