Remove hints
Change-Id: I537619fefad6ffb6b46c5dc618f0fdcc15884d6e
diff --git a/src/ndns-label.hpp b/src/ndns-label.hpp
index 6641eca..63df2ad 100644
--- a/src/ndns-label.hpp
+++ b/src/ndns-label.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2014, Regents of the University of California.
+ * Copyright (c) 2014-2016, Regents of the University of California.
*
* This file is part of NDNS (Named Data Networking Domain Name Service).
* See AUTHORS.md for complete list of NDNS authors and contributors.
@@ -41,7 +41,8 @@
/**
* @brief NDNS recursive query type
*/
-const name::Component NDNS_RECURSIVE_QUERY("NDNS-R");
+// it is not supported now
+// const name::Component NDNS_RECURSIVE_QUERY("NDNS-R");
/**
* @brief NDNS ID-CERT query type
@@ -51,12 +52,6 @@
/////////////////////////////////////////////
/**
- * @brief label of forwarding hint
- * @todo not support forwarding hint yet, for future use
- */
-const name::Component FORWARDING_HINT_LABEL("\xF0.");
-
-/**
* @brief label of update message, located at the last component in Interest name
*/
const name::Component NDNS_UPDATE_LABEL("UPDATE");
@@ -96,8 +91,6 @@
* @brief match the Interest (NDNS query, NDNS update) name
*
* @param[in] interest Interest to parse
- * @param[in] hint Forwarding hint that is part of the Interest
- * (only the length will be taken into account)
* @param[in] zone Zone that the Interest is related to
* (only the length will be taken into account)
* @param[out] result The matching result
@@ -105,15 +98,13 @@
*/
bool
matchName(const Interest& interest,
- const Name& hint, const Name& zone,
+ const Name& zone,
MatchResult& result);
/**
* @brief match the Data (NDNS query response, NDNS update response) name
*
* @param[in] data Data to parse
- * @param[in] hint Forwarding hint that is part of the Data
- * (only the length will be taken into account)
* @param[in] zone Zone that the Data is related to
* (only the length will be taken into account)
* @param[out] result The matching result
@@ -121,7 +112,7 @@
*/
bool
matchName(const Data& data,
- const Name& hint, const Name& zone,
+ const Name& zone,
MatchResult& result);