clients: add response

Change-Id: Ia906b23b52f29483aacb30dae989db1b1e98a85d
diff --git a/src/ndns-enum.hpp b/src/ndns-enum.hpp
index 617be9c..be48bd1 100644
--- a/src/ndns-enum.hpp
+++ b/src/ndns-enum.hpp
@@ -20,7 +20,7 @@
 #ifndef NDNS_NDNS_ENUM_HPP
 #define NDNS_NDNS_ENUM_HPP
 
-#include <string>
+#include <ostream>
 
 namespace ndn {
 namespace ndns {
@@ -37,11 +37,8 @@
   NDNS_UNKNOWN = 255
 };
 
-/*
- * @brief convert the ResponseType to String
- */
-std::string
-toString(NdnsType ndnsType);
+std::ostream&
+operator<<(std::ostream& os, const NdnsType ndnsType);
 
 } // namespace ndns
 } // namespace ndn