Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
preparing get_onelink_routes and is_router for each routing model
[simgrid.git] / src / surf / surf_private.h
index e17fb3e..8c016be 100644 (file)
@@ -158,6 +158,8 @@ struct s_routing_component {
   struct s_routing_component* routing_father;
   xbt_dict_t routing_sons;
   route_extended_t (*get_route)(routing_component_t rc, const char* src, const char* dst);
+  xbt_dict_t (*get_onelink_routes)(void);
+  int (*is_router)(const char *name);
   route_extended_t (*get_bypass_route)(routing_component_t rc, const char* src, const char* dst);
   void (*finalize)(routing_component_t rc);
   void (*set_processing_unit)(routing_component_t rc, const char* name);