meta-info: producer generated NACK
This feature is experimental, and not yet defined in NDN-TLV spec.
refs #2111
Change-Id: I93c77aedb14ba40c6ba5e3148ba355c436af6ac1
diff --git a/src/meta-info.hpp b/src/meta-info.hpp
index d73014e..aece256 100644
--- a/src/meta-info.hpp
+++ b/src/meta-info.hpp
@@ -66,10 +66,27 @@
}
};
+ /** \brief ContentType codes
+ */
enum {
- TYPE_DEFAULT = 0,
+ /** @brief indicates content is the actual data bits
+ */
+ TYPE_BLOB = 0,
+
+ /** @brief indicates content is another name which identifies actual data content
+ */
TYPE_LINK = 1,
- TYPE_KEY = 2
+
+ /** @brief indicates content is a public key
+ */
+ TYPE_KEY = 2,
+
+ /** @brief indicates a producer generated NACK
+ * @warning Experimental. Not defined in NDN-TLV spec.
+ */
+ TYPE_NACK = 3,
+
+ TYPE_DEFAULT = TYPE_BLOB
};
MetaInfo();