X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/66f9d7f18e9a5f08bbcc381381283895ab6a0a89..1630762970ef7debfd44c24e6621af716c11af73:/src/surf/surf_private.h diff --git a/src/surf/surf_private.h b/src/surf/surf_private.h index 80ba539e1d..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 @@ -188,6 +188,7 @@ typedef struct s_as { void (*parse_route) (AS_t as, sg_platf_route_cbarg_t route); 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); + } s_as_t; struct s_routing_platf { @@ -200,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? @@ -211,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);