Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
1pas mods
[simgrid.git] / include / surf / surfxml_parse.h
index a097de8..deb183c 100644 (file)
@@ -14,8 +14,8 @@
 #include "xbt/dict.h"
 
 /* Hook for the different tags. All the functions which pointer to are push into here are run when the tag is encountered */
-XBT_PUBLIC(xbt_dynar_t) STag_surfxml_platform_description_cb_list;
-XBT_PUBLIC(xbt_dynar_t) ETag_surfxml_platform_description_cb_list;
+XBT_PUBLIC(xbt_dynar_t) STag_surfxml_platform_cb_list;
+XBT_PUBLIC(xbt_dynar_t) ETag_surfxml_platform_cb_list;
 XBT_PUBLIC(xbt_dynar_t) STag_surfxml_host_cb_list;
 XBT_PUBLIC(xbt_dynar_t) ETag_surfxml_host_cb_list;
 XBT_PUBLIC(xbt_dynar_t) STag_surfxml_router_cb_list;
@@ -72,5 +72,11 @@ XBT_PUBLIC_DATA(int_f_void_t) surf_parse; /* Entry-point to the parser. Set this
 
 XBT_PUBLIC(void) surfxml_add_callback(xbt_dynar_t cb_list, void_f_void_t function);
 
+/* This is used by all models when creating the routing table while parsing */
+XBT_PUBLIC_DATA(xbt_dict_t) route_table;
+XBT_PUBLIC_DATA(xbt_dynar_t) route_link_list;
+XBT_PUBLIC_DATA(xbt_dynar_t) links;
+XBT_PUBLIC_DATA(xbt_dynar_t) keys;
+
 
 #endif