Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
further fields renamings in the parser
[simgrid.git] / src / include / surf / surfxml_parse_values.h
1 /* Copyright (c) 2011. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5   * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #ifndef SURFXML_PARSE_VALUES_H_
8 #define SURFXML_PARSE_VALUES_H_
9
10 typedef struct s_surf_parsing_peer_arg *surf_parsing_peer_arg_t;
11 typedef struct s_surf_parsing_peer_arg {
12         char* id; //FIXME: convert to const char
13         char* power;//FIXME: convert to double
14         char* bw_in;
15         char* bw_out;
16         char* lat;
17         char* coord;
18         char* availability_trace;
19         char* state_trace;
20 } s_surf_parsing_peer_arg_t;
21
22 typedef struct s_surf_parsing_cluster_arg *surf_parsing_cluster_arg_t;
23 typedef struct s_surf_parsing_cluster_arg {
24         char* id;
25         char* prefix;
26         char* suffix;
27         char* radical;
28         double power;
29         int core_amount;
30         double bw;
31         double lat;
32         double bb_bw;
33         double bb_lat;
34         char* router_id;
35         int sharing_policy;
36         int bb_sharing_policy;
37         char* availability_trace;
38         char* state_trace;
39 } s_surf_parsing_cluster_arg_t;
40
41 typedef struct s_surf_parsing_link_up_down *surf_parsing_link_up_down_t;
42 typedef struct s_surf_parsing_link_up_down {
43         void* link_up;
44         void* link_down;
45 } s_surf_parsing_link_up_down_t;
46
47
48 extern surf_parsing_cluster_arg_t struct_cluster;
49 extern surf_parsing_peer_arg_t struct_peer;
50
51 #endif /* SURFXML_PARSE_VALUES_H_ */