Commit 6121f4b0 authored by Michal Vaner's avatar Michal Vaner
Browse files

Interface of MemoryZone::add

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac447@3956 e5f2f494-b856-4b98-b285-d166d9295462
parent e1072235
......@@ -61,6 +61,20 @@ public:
virtual FindResult find(const isc::dns::Name& name,
const isc::dns::RRType& type) const;
result::Result add(const isc::dns::ConstRRsetPtr& rrset);
struct OutOfZone : public InvalidParameter {
OutOfZone(const char* file, size_t line, const char* what) :
InvalidParameter(file, line, what)
{ }
};
struct NullRRset : public InvalidParameter {
NullRRset(const char* file, size_t line, const char* what) :
InvalidParameter(file, line, what)
{ }
};
private:
/// \name Hidden private data
//@{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment