|
@@ -17,6 +17,12 @@
|
|
|
|
|
|
#include <datasrc/client.h>
|
|
|
#include <datasrc/memory/zone_table.h>
|
|
|
+
|
|
|
+// for isc::datasrc::ZoneTable::FindResult returned by findZone(). This
|
|
|
+// variant of findZone() is not implemented and should be removed
|
|
|
+// eventually.
|
|
|
+#include <datasrc/zonetable.h>
|
|
|
+
|
|
|
#include <string>
|
|
|
|
|
|
namespace isc {
|
|
@@ -189,7 +195,14 @@ public:
|
|
|
///
|
|
|
/// This derived version of the method never throws an exception.
|
|
|
/// For other details see \c DataSourceClient::findZone().
|
|
|
- virtual ZoneTable::FindResult findZone(const isc::dns::Name& name) const;
|
|
|
+ virtual isc::datasrc::memory::ZoneTable::FindResult
|
|
|
+ findZone2(const isc::dns::Name& name) const;
|
|
|
+
|
|
|
+ // This variant of findZone() is not implemented and should be
|
|
|
+ // removed eventually. It currently throws an exception. It is
|
|
|
+ // required right now to derive from DataSourceClient.
|
|
|
+ virtual isc::datasrc::DataSourceClient::FindResult
|
|
|
+ findZone(const isc::dns::Name& name) const;
|
|
|
|
|
|
/// \brief Implementation of the getIterator method
|
|
|
virtual ZoneIteratorPtr getIterator(const isc::dns::Name& name,
|