@@ -26,6 +26,9 @@
using namespace isc::dns;
using namespace std;
+namespace isc {
+namespace resolve {
+
// Classify the response in the "message" object.
ResponseClassifier::Category ResponseClassifier::classify(
@@ -257,3 +260,6 @@ ResponseClassifier::Category ResponseClassifier::cnameChase(
return (EXTRADATA);
}
+} // namespace resolve
+} // namespace isc
@@ -23,6 +23,9 @@
#include <dns/message.h>
#include <dns/question.h>
/// \brief Classify Server Response
///
/// This class is used in the recursive server. It is passed an answer received
@@ -136,3 +139,6 @@ private:
};
#endif // __RESPONSE_CLASSIFIER_H
@@ -35,6 +35,8 @@ using namespace isc::dns;
using namespace rdata;
using namespace isc::dns::rdata::generic;
using namespace isc::dns::rdata::in;
+using namespace isc::resolve;
namespace {
class ResponseClassifierTest : public ::testing::Test {