Added match
diff --git a/ndn-cpp/name.hpp b/ndn-cpp/name.hpp
index 5c6754a..42269e4 100644
--- a/ndn-cpp/name.hpp
+++ b/ndn-cpp/name.hpp
@@ -174,6 +174,8 @@
     components_.push_back(Component());
     components_.back().setSegment(segment);
   }
+  
+  bool match(const Name &name);
 
 private:
   std::vector<Component> components_;