X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/532c36067df658d3d25d9997f8c43a54cfa32477..e3f5ca3fd3726e67046afbd03e48e9cd7294b835:/src/surf/platf_generator_private.h diff --git a/src/surf/platf_generator_private.h b/src/surf/platf_generator_private.h index 400583420f..9b04b4433f 100644 --- a/src/surf/platf_generator_private.h +++ b/src/surf/platf_generator_private.h @@ -1,25 +1,15 @@ +/* Copyright (c) 2012, 2014. The SimGrid Team. + * All rights reserved. */ + +/* This program is free software; you can redistribute it and/or modify it + * under the terms of the license (GNU LGPL) which comes with this package. */ + #ifndef SG_PLATF_GEN_PRIVATE_H #define SG_PLATF_GEN_PRIVATE_H #include "xbt/graph.h" #include "simgrid/platf.h" -typedef struct s_context_node_t { - unsigned long id; - double x, y; - int degree; - e_platf_node_kind kind; - union { - s_sg_platf_host_cbarg_t host_parameters; - s_sg_platf_cluster_cbarg_t cluster_parameters; - }; -} s_context_node_t, *context_node_t; - -typedef struct s_context_edge_t { - unsigned long id; - s_sg_platf_link_cbarg_t link_parameters; -} s_context_edge_t, *context_edge_t; - void platf_graph_init(unsigned long node_count); void platf_node_connect(xbt_node_t node1, xbt_node_t node2);