Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
avoid void* pointers since we know the pointed type in all usage location of this...
[simgrid.git] / src / surf / surf_routing_private.h
index 9b356dd..ec9fe74 100644 (file)
@@ -40,17 +40,18 @@ void generic_parse_bypassroute(AS_t rc, const char *src, const char *dst,
 xbt_dynar_t generic_get_onelink_routes(AS_t rc);
 route_t generic_get_bypassroute(AS_t rc,
     network_element_t src,
-    network_element_t dst);
+    network_element_t dst,
+    double *lat);
 
 /* ************************************************************************** */
 /* ****************** GENERIC AUX FUNCTIONS (declarations) ****************** */
 
 route_t
 generic_new_extended_route(e_surf_routing_hierarchy_t hierarchy,
-                           void *data, int order);
+                           route_t data, int order);
 route_t
 generic_new_route(e_surf_routing_hierarchy_t hierarchy,
-                           void *data, int order);
+                           route_t data, int order);
 AS_t
 generic_autonomous_system_exist(AS_t rc, char *element);
 AS_t
@@ -75,7 +76,6 @@ AS_t model_rulebased_create(void);      /* create structures for rulebased routi
 AS_t model_cluster_create(void);      /* create structures for cluster routing model */
 
 /* Pass info from the cluster parser to the cluster routing */
-void surf_routing_cluster_add_link(const char* host_id,surf_parsing_link_up_down_t info);
 void surf_routing_cluster_add_backbone(AS_t as, void* bb);
 
 /* ************************************************** */