src/core/config.h
changeset 2941 e1ff74674f87
parent 2594 a8f89acd17a1
child 2965 4b28e9740e3b
--- a/src/core/config.h	Thu Apr 10 10:24:18 2008 -0700
+++ b/src/core/config.h	Thu Apr 10 11:11:34 2008 -0700
@@ -118,6 +118,17 @@
  */
 void UnregisterRootNamespaceObject (Ptr<Object> obj);
 
+/**
+ * \returns the number of registered root namespace objects.
+ */
+uint32_t GetRootNamespaceObjectN (void);
+
+/**
+ * \param i the index of the requested object.
+ * \returns the requested root namespace object
+ */
+Ptr<Object> GetRootNamespaceObject (uint32_t i);
+
 } // namespace Config
 
 } // namespace ns3