X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bdc99dddb4082e9c50525e5f7da24279cfd14c9f..85b02668e44e45559b9fc8474cbb81c7e6b3ae74:/src/include/surf/surf.h?ds=sidebyside diff --git a/src/include/surf/surf.h b/src/include/surf/surf.h index f1a883221d..fe9b4f38d5 100644 --- a/src/include/surf/surf.h +++ b/src/include/surf/surf.h @@ -176,7 +176,7 @@ typedef struct surf_network_model_extension_public { surf_action_t(*communicate) (const char *src_name, const char *dst_name, double size, double rate); - xbt_dynar_t(*get_route) (const char *src_name, const char *dst_name); + xbt_dynar_t(*get_route) (const char *src_name, const char *dst_name); //FIXME: kill field? That is done by the routing nowadays double (*get_link_bandwidth) (const void *link); double (*get_link_latency) (const void *link); int (*link_shared) (const void *link); @@ -208,6 +208,7 @@ typedef struct surf_workstation_model_extension_public { surf_action_t(*communicate) (void *workstation_src, /**< Execute a communication amount between two workstations */ void *workstation_dst, double size, double max_rate); + // FIXME: kill next field, which duplicates the routing xbt_dynar_t(*get_route) (void *workstation_src, void *workstation_dst); /**< Get the list of links between two ws */ surf_action_t(*execute_parallel_task) (int workstation_nb, /**< Execute a parallel task on several workstations */