small refactoring to expand visibility of the helper structure
diff --git a/model/ccnx-rit.h b/model/ccnx-rit.h
index 3f09273..ba5a133 100644
--- a/model/ccnx-rit.h
+++ b/model/ccnx-rit.h
@@ -104,6 +104,7 @@
> type;
};
+
/**
* \ingroup ccnx
@@ -198,6 +199,20 @@
Time m_cleanupTimeout; ///< \brief Configurable timeout of how often cleanup events are working
EventId m_cleanupEvent; ///< \brief Cleanup event
};
+
+//////////////////////////////////////////////////////////////////////
+// Helper classes
+//////////////////////////////////////////////////////////////////////
+/**
+ * \ingroup ccnx
+ * \brief Typedef for nonce hash index of RIT container
+ */
+struct CcnxRitByNonce
+{
+ typedef
+ CcnxRitContainer::type::index<__ccnx_private_rit::nonce>::type
+ type;
+};
} // namespace ns3