X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7252fa251634f51cf28f3b286b20b9d55fbc2702..1dcdc787fa3baec4691ff65f67ff01f1e2415c63:/include/simgrid/platf.h diff --git a/include/simgrid/platf.h b/include/simgrid/platf.h index a53982c541..fb46ea8f13 100644 --- a/include/simgrid/platf.h +++ b/include/simgrid/platf.h @@ -11,6 +11,13 @@ #include +typedef void *sg_routing_link_t; /* The actual type is model-dependent so use void* instead*/ +typedef struct s_routing_edge *sg_routing_edge_t; + +XBT_PUBLIC(sg_routing_edge_t) sg_routing_edge_by_name_or_null(const char *name); + + + typedef struct tmgr_trace *tmgr_trace_t; /**< Opaque structure defining an availability trace */ XBT_PUBLIC(tmgr_trace_t) tmgr_trace_new(const char *filename); XBT_PUBLIC(tmgr_trace_t) tmgr_trace_new_from_string(const char *id, @@ -106,20 +113,20 @@ typedef struct s_sg_platf_cluster_cbarg { } s_sg_platf_cluster_cbarg_t; typedef struct { - char* id; - char* type_id; + const char* id; + const char* type_id; } s_sg_platf_storage_cbarg_t, *sg_platf_storage_cbarg_t; typedef struct { - char* id; - char* model; - char* content; + const char* id; + const char* model; + const char* content; xbt_dict_t properties; } s_sg_platf_storage_type_cbarg_t, *sg_platf_storage_type_cbarg_t; typedef struct { - char* type_id; - char* name; + const char* type_id; + const char* name; } s_sg_platf_mstorage_cbarg_t, *sg_platf_mstorage_cbarg_t; typedef struct {