X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/25137bd6bc44e1260223b141b46cedd6e7ef1da0..dc6913c52605e309e5bbbf3bcccec1e15a1ae03b:/src/surf/surf_private.h diff --git a/src/surf/surf_private.h b/src/surf/surf_private.h index 2ff37935db..806c3fdf8f 100644 --- a/src/surf/surf_private.h +++ b/src/surf/surf_private.h @@ -13,6 +13,7 @@ #include "surf/surfxml_parse_private.h" #include "surf/random_mgr.h" #include "instr/instr_private.h" +#include "surf/surfxml_parse_values.h" #define NO_MAX_DURATION -1.0 @@ -137,7 +138,7 @@ typedef struct s_route_extended { /* This enum used in the routing structure helps knowing in which situation we are. */ typedef enum { - SURF_ROUTING_NULL = 0, /**< Indefined type */ + SURF_ROUTING_NULL = 0, /**< Undefined type */ SURF_ROUTING_BASE, /**< Base case: use simple link lists for routing */ SURF_ROUTING_RECURSIVE /**< Recursive case: also return gateway informations */ } e_surf_routing_hierarchy_t; @@ -183,6 +184,7 @@ struct s_routing_global { void *loopback; size_t size_of_link; xbt_dynar_t(*get_route) (const char *src, const char *dst); + xbt_dynar_t(*get_route_or_null) (const char *src, const char *dst); xbt_dynar_t(*get_route_no_cleanup) (const char *src, const char *dst); xbt_dynar_t(*get_onelink_routes) (void); double (*get_latency) (const char *src, const char *dst);