Added toUri and deprecated to_uri
diff --git a/ndn-cpp/name.hpp b/ndn-cpp/name.hpp
index b4a8dbe..f287f47 100644
--- a/ndn-cpp/name.hpp
+++ b/ndn-cpp/name.hpp
@@ -132,8 +132,16 @@
    * Encode this name as a URI.
    * @return The encoded URI.
    */
-  std::string to_uri() const;
+  std::string toUri() const;
   
+  /**
+   * @deprecated Use toUri().
+   */
+  std::string to_uri() const 
+  {
+    return toUri();
+  }
+
 private:
   std::vector<Component> components_;
 };