140 const RRClass& zone_class, MasterLoadCallback callback);
163 const RRClass& zone_class, MasterLoadCallback callback,
164 const char* source = NULL);
171 #endif // MASTERLOAD_H
The Name class encapsulates DNS names.
An exception that is thrown if an error occurs while loading a master zone data.
The RRClass class encapsulates DNS resource record classes.
std::function< void(RRsetPtr)> MasterLoadCallback
The type of the callback parameter of masterLoad().
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
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)
void masterLoad(const char *const filename, const Name &origin, const RRClass &zone_class, MasterLoadCallback callback)
Master zone file loader from a file.