X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7e082217ec28452a0f8fdb0207d8792f0b0932dc..16a81d317a360ed7c9a3f3615b58b991f99cd241:/src/surf/surf_private.h diff --git a/src/surf/surf_private.h b/src/surf/surf_private.h index db681ec8c0..19b2b58817 100644 --- a/src/surf/surf_private.h +++ b/src/surf/surf_private.h @@ -132,7 +132,7 @@ typedef struct s_routing_edge { e_surf_network_element_type_t rc_type; int id; char *name; -} s_network_element_t; +} s_routing_edge_t; /* * Link of lenght 1, alongside with its source and destination. This is mainly usefull in the bindings to gtnets and ns3 @@ -189,7 +189,6 @@ typedef struct s_as { void (*parse_ASroute) (AS_t as, sg_platf_route_cbarg_t route); void (*parse_bypassroute) (AS_t as, sg_platf_route_cbarg_t e_route); - xbt_dict_t properties; } s_as_t; struct s_routing_platf { @@ -202,6 +201,11 @@ struct s_routing_platf { XBT_PUBLIC(void) routing_model_create(void *loopback); XBT_PUBLIC(void) routing_exit(void); XBT_PUBLIC(void) storage_register_callbacks(void); +/* ***************************************** */ +/* TUTORIAL: New TAG */ +XBT_PUBLIC(void) gpu_register_callbacks(void); +/* ***************************************** */ + XBT_PUBLIC(void) routing_register_callbacks(void); XBT_PUBLIC(void) generic_free_route(sg_platf_route_cbarg_t route); // FIXME rename to routing_route_free // FIXME: make previous function private to routing again? @@ -213,8 +217,6 @@ XBT_PUBLIC(void) routing_get_route_and_latency(sg_routing_edge_t src, sg_routing /** * Resource protected methods */ -static XBT_INLINE xbt_dict_t surf_resource_properties(const void *resource); - XBT_PUBLIC(void) surfxml_bufferstack_push(int new); XBT_PUBLIC(void) surfxml_bufferstack_pop(int new);