X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/272ccad1b68b6d9c17069f3c934886925bb15b5d..c215f8139368ac8b172ad664c05d4f2b4211a961:/include/surf/surf_routing.h diff --git a/include/surf/surf_routing.h b/include/surf/surf_routing.h index d7459ac3e9..2d0e95ed6c 100644 --- a/include/surf/surf_routing.h +++ b/include/surf/surf_routing.h @@ -8,6 +8,7 @@ #define _SURF_SURF_ROUTING_H #include "xbt/lib.h" +#include "simgrid/platf_interface.h" extern xbt_lib_t host_lib; extern int ROUTING_HOST_LEVEL; //Routing level @@ -28,6 +29,7 @@ extern xbt_lib_t as_router_lib; extern int ROUTING_ASR_LEVEL; //Routing level extern int COORD_ASR_LEVEL; //Coordinates level extern int NS3_ASR_LEVEL; //host node for ns3 +extern int ROUTING_PROP_ASR_LEVEL; //Properties for AS and router extern xbt_lib_t storage_lib; extern int ROUTING_STORAGE_LEVEL; //Routing storage level @@ -38,7 +40,9 @@ extern xbt_lib_t storage_type_lib; extern int ROUTING_STORAGE_TYPE_LEVEL; //Routing storage_type level /* The callbacks to register for the routing to work */ -void routing_AS_begin(const char *AS_id, const char *wanted_routing_type); -void routing_AS_end(void); +void routing_AS_begin(sg_platf_AS_cbarg_t AS); +void routing_AS_end(sg_platf_AS_cbarg_t AS); + +void routing_cluster_add_backbone(void* bb); #endif /* _SURF_SURF_H */