Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git] / include / surf / simgrid_dtd.h
1 /* XML processor/application API for src/surf/simgrid.dtd.
2  *
3  * This program was generated with the FleXML XML processor generator.
4  * FleXML is Copyright (C) 1999-2005 Kristoffer Rose.  All rights reserved.
5  * FleXML is Copyright (C) 2003-2011 Martin Quinson.  All rights reserved.
6  * (Id: flexml.pl,v 1.67 2011/11/01 20:49:21 mquinson Exp).
7  * 
8  * There are two, intertwined parts to this program, part A and part B.
9  *
10  * Part A
11  * ------
12  * 
13  * Some parts, here collectively called "Part A", are found in the 
14  * FleXML package.  They are Copyright (C) 1999-2005 Kristoffer Rose
15  * and Copyright (C) 2003-2011 Martin Quinson. All rights reserved.
16  *
17  * You can redistribute, use, perform, display and/or modify "Part A"
18  * provided the following two conditions hold:
19  *
20  * 1. The program is distributed WITHOUT ANY WARRANTY from the author of
21  *    FleXML; without even the implied warranty of MERCHANTABILITY or
22  *    FITNESS FOR A PARTICULAR PURPOSE.
23  *
24  * 2. The program distribution conditions do not in any way affect the
25  *    distribution conditions of the FleXML system used to generate this
26  *    file or any version of FleXML derived from that system.
27  *
28  * Notice that these are explicit rights granted to you for files
29  * generated by the FleXML system.  For your rights in connection with
30  * the FleXML system itself please consult the GNU General Public License.
31  * 
32  * Part B
33  * ------
34  * 
35  * The other parts, here collectively called "Part B", and which came 
36  * from the DTD used by FleXML to generate this program, can be 
37  * distributed (or not, as the case may be) under the terms of whoever
38  * wrote them, provided these terms respect and obey the two conditions 
39  * above under the heading "Part A".
40  *
41  * The author of and contributors to FleXML specifically disclaim
42  * any copyright interest in "Part B", unless "Part B" was written 
43  * by the author of or contributors to FleXML.
44  * 
45  */
46
47 #ifndef _FLEXML_simgrid_H
48 #define _FLEXML_simgrid_H
49
50 /* XML application entry points. */
51 XBT_PUBLIC(void ) STag_surfxml_platform(void);
52 XBT_PUBLIC(void ) ETag_surfxml_platform(void);
53 XBT_PUBLIC(void ) STag_surfxml_include(void);
54 XBT_PUBLIC(void ) ETag_surfxml_include(void);
55 XBT_PUBLIC(void ) STag_surfxml_trace(void);
56 XBT_PUBLIC(void ) ETag_surfxml_trace(void);
57 XBT_PUBLIC(void ) STag_surfxml_random(void);
58 XBT_PUBLIC(void ) ETag_surfxml_random(void);
59 XBT_PUBLIC(void ) STag_surfxml_trace_connect(void);
60 XBT_PUBLIC(void ) ETag_surfxml_trace_connect(void);
61 XBT_PUBLIC(void ) STag_surfxml_AS(void);
62 XBT_PUBLIC(void ) ETag_surfxml_AS(void);
63 XBT_PUBLIC(void ) STag_surfxml_storage_type(void);
64 XBT_PUBLIC(void ) ETag_surfxml_storage_type(void);
65 XBT_PUBLIC(void ) STag_surfxml_storage(void);
66 XBT_PUBLIC(void ) ETag_surfxml_storage(void);
67 XBT_PUBLIC(void ) STag_surfxml_mount(void);
68 XBT_PUBLIC(void ) ETag_surfxml_mount(void);
69 XBT_PUBLIC(void ) STag_surfxml_mstorage(void);
70 XBT_PUBLIC(void ) ETag_surfxml_mstorage(void);
71 XBT_PUBLIC(void ) STag_surfxml_host(void);
72 XBT_PUBLIC(void ) ETag_surfxml_host(void);
73 XBT_PUBLIC(void ) STag_surfxml_cluster(void);
74 XBT_PUBLIC(void ) ETag_surfxml_cluster(void);
75 XBT_PUBLIC(void ) STag_surfxml_peer(void);
76 XBT_PUBLIC(void ) ETag_surfxml_peer(void);
77 XBT_PUBLIC(void ) STag_surfxml_router(void);
78 XBT_PUBLIC(void ) ETag_surfxml_router(void);
79 XBT_PUBLIC(void ) STag_surfxml_link(void);
80 XBT_PUBLIC(void ) ETag_surfxml_link(void);
81 XBT_PUBLIC(void ) STag_surfxml_route(void);
82 XBT_PUBLIC(void ) ETag_surfxml_route(void);
83 XBT_PUBLIC(void ) STag_surfxml_ASroute(void);
84 XBT_PUBLIC(void ) ETag_surfxml_ASroute(void);
85 XBT_PUBLIC(void ) STag_surfxml_link_ctn(void);
86 XBT_PUBLIC(void ) ETag_surfxml_link_ctn(void);
87 XBT_PUBLIC(void ) STag_surfxml_bypassRoute(void);
88 XBT_PUBLIC(void ) ETag_surfxml_bypassRoute(void);
89 XBT_PUBLIC(void ) STag_surfxml_process(void);
90 XBT_PUBLIC(void ) ETag_surfxml_process(void);
91 XBT_PUBLIC(void ) STag_surfxml_argument(void);
92 XBT_PUBLIC(void ) ETag_surfxml_argument(void);
93 XBT_PUBLIC(void ) STag_surfxml_config(void);
94 XBT_PUBLIC(void ) ETag_surfxml_config(void);
95 XBT_PUBLIC(void ) STag_surfxml_prop(void);
96 XBT_PUBLIC(void ) ETag_surfxml_prop(void);
97
98 /* XML application data. */
99 typedef int AT_surfxml_mount_name;
100 #define AU_surfxml_mount_name NULL
101 typedef enum { AU_surfxml_random_generator, A_surfxml_random_generator_DRAND48,A_surfxml_random_generator_RAND,A_surfxml_random_generator_RNGSTREAM,A_surfxml_random_generator_NONE } AT_surfxml_random_generator;
102 typedef int AT_surfxml_ASroute_gw_dst;
103 #define AU_surfxml_ASroute_gw_dst NULL
104 typedef int AT_surfxml_trace_connect_element;
105 #define AU_surfxml_trace_connect_element NULL
106 typedef int AT_surfxml_prop_id;
107 #define AU_surfxml_prop_id NULL
108 typedef int AT_surfxml_host_id;
109 #define AU_surfxml_host_id NULL
110 typedef enum { AU_surfxml_ASroute_symmetrical, A_surfxml_ASroute_symmetrical_YES,A_surfxml_ASroute_symmetrical_NO } AT_surfxml_ASroute_symmetrical;
111 typedef int AT_surfxml_peer_lat;
112 #define AU_surfxml_peer_lat NULL
113 typedef int AT_surfxml_link_latency_file;
114 #define AU_surfxml_link_latency_file NULL
115 typedef int AT_surfxml_peer_availability_file;
116 #define AU_surfxml_peer_availability_file NULL
117 typedef enum { AU_surfxml_link_ctn_direction, A_surfxml_link_ctn_direction_UP,A_surfxml_link_ctn_direction_DOWN,A_surfxml_link_ctn_direction_NONE } AT_surfxml_link_ctn_direction;
118 typedef enum { AU_surfxml_host_state, A_surfxml_host_state_ON,A_surfxml_host_state_OFF } AT_surfxml_host_state;
119 typedef int AT_surfxml_AS_id;
120 #define AU_surfxml_AS_id NULL
121 typedef int AT_surfxml_host_power;
122 #define AU_surfxml_host_power NULL
123 typedef int AT_surfxml_router_id;
124 #define AU_surfxml_router_id NULL
125 typedef int AT_surfxml_storage_type_id;
126 #define AU_surfxml_storage_type_id NULL
127 typedef int AT_surfxml_process_start_time;
128 #define AU_surfxml_process_start_time NULL
129 typedef int AT_surfxml_cluster_suffix;
130 #define AU_surfxml_cluster_suffix NULL
131 typedef int AT_surfxml_ASroute_src;
132 #define AU_surfxml_ASroute_src NULL
133 typedef int AT_surfxml_cluster_prefix;
134 #define AU_surfxml_cluster_prefix NULL
135 typedef int AT_surfxml_trace_file;
136 #define AU_surfxml_trace_file NULL
137 typedef enum { AU_surfxml_link_sharing_policy, A_surfxml_link_sharing_policy_SHARED,A_surfxml_link_sharing_policy_FATPIPE,A_surfxml_link_sharing_policy_FULLDUPLEX } AT_surfxml_link_sharing_policy;
138 typedef int AT_surfxml_storage_typeId;
139 #define AU_surfxml_storage_typeId NULL
140 typedef int AT_surfxml_random_min;
141 #define AU_surfxml_random_min NULL
142 typedef int AT_surfxml_link_ctn_id;
143 #define AU_surfxml_link_ctn_id NULL
144 typedef int AT_surfxml_peer_bw_out;
145 #define AU_surfxml_peer_bw_out NULL
146 typedef int AT_surfxml_cluster_availability_file;
147 #define AU_surfxml_cluster_availability_file NULL
148 typedef int AT_surfxml_process_kill_time;
149 #define AU_surfxml_process_kill_time NULL
150 typedef int AT_surfxml_cluster_bb_bw;
151 #define AU_surfxml_cluster_bb_bw NULL
152 typedef int AT_surfxml_argument_value;
153 #define AU_surfxml_argument_value NULL
154 typedef enum { AU_surfxml_link_state, A_surfxml_link_state_ON,A_surfxml_link_state_OFF } AT_surfxml_link_state;
155 typedef int AT_surfxml_ASroute_gw_src;
156 #define AU_surfxml_ASroute_gw_src NULL
157 typedef int AT_surfxml_AS_routing;
158 #define AU_surfxml_AS_routing NULL
159 typedef int AT_surfxml_link_bandwidth;
160 #define AU_surfxml_link_bandwidth NULL
161 typedef int AT_surfxml_cluster_id;
162 #define AU_surfxml_cluster_id NULL
163 typedef int AT_surfxml_peer_bw_in;
164 #define AU_surfxml_peer_bw_in NULL
165 typedef int AT_surfxml_random_mean;
166 #define AU_surfxml_random_mean NULL
167 typedef int AT_surfxml_cluster_bb_lat;
168 #define AU_surfxml_cluster_bb_lat NULL
169 typedef int AT_surfxml_link_latency;
170 #define AU_surfxml_link_latency NULL
171 typedef enum { AU_surfxml_trace_connect_kind, A_surfxml_trace_connect_kind_HOST_AVAIL,A_surfxml_trace_connect_kind_POWER,A_surfxml_trace_connect_kind_LINK_AVAIL,A_surfxml_trace_connect_kind_BANDWIDTH,A_surfxml_trace_connect_kind_LATENCY } AT_surfxml_trace_connect_kind;
172 typedef int AT_surfxml_random_seed;
173 #define AU_surfxml_random_seed NULL
174 typedef int AT_surfxml_cluster_state_file;
175 #define AU_surfxml_cluster_state_file NULL
176 typedef int AT_surfxml_link_bandwidth_file;
177 #define AU_surfxml_link_bandwidth_file NULL
178 typedef int AT_surfxml_storage_type_content;
179 #define AU_surfxml_storage_type_content NULL
180 typedef enum { AU_surfxml_route_symmetrical, A_surfxml_route_symmetrical_YES,A_surfxml_route_symmetrical_NO } AT_surfxml_route_symmetrical;
181 typedef int AT_surfxml_random_id;
182 #define AU_surfxml_random_id NULL
183 typedef int AT_surfxml_mstorage_name;
184 #define AU_surfxml_mstorage_name NULL
185 typedef int AT_surfxml_random_max;
186 #define AU_surfxml_random_max NULL
187 typedef int AT_surfxml_link_id;
188 #define AU_surfxml_link_id NULL
189 typedef int AT_surfxml_process_host;
190 #define AU_surfxml_process_host NULL
191 typedef int AT_surfxml_host_availability_file;
192 #define AU_surfxml_host_availability_file NULL
193 typedef int AT_surfxml_cluster_lat;
194 #define AU_surfxml_cluster_lat NULL
195 typedef int AT_surfxml_trace_periodicity;
196 #define AU_surfxml_trace_periodicity NULL
197 typedef enum { AU_surfxml_cluster_bb_sharing_policy, A_surfxml_cluster_bb_sharing_policy_SHARED,A_surfxml_cluster_bb_sharing_policy_FATPIPE } AT_surfxml_cluster_bb_sharing_policy;
198 typedef int AT_surfxml_router_coordinates;
199 #define AU_surfxml_router_coordinates NULL
200 typedef int AT_surfxml_peer_coordinates;
201 #define AU_surfxml_peer_coordinates NULL
202 typedef int AT_surfxml_peer_state_file;
203 #define AU_surfxml_peer_state_file NULL
204 typedef int AT_surfxml_prop_value;
205 #define AU_surfxml_prop_value NULL
206 typedef int AT_surfxml_mstorage_typeId;
207 #define AU_surfxml_mstorage_typeId NULL
208 typedef int AT_surfxml_ASroute_dst;
209 #define AU_surfxml_ASroute_dst NULL
210 typedef int AT_surfxml_link_state_file;
211 #define AU_surfxml_link_state_file NULL
212 typedef int AT_surfxml_random_radical;
213 #define AU_surfxml_random_radical NULL
214 typedef int AT_surfxml_trace_connect_trace;
215 #define AU_surfxml_trace_connect_trace NULL
216 typedef int AT_surfxml_mount_id;
217 #define AU_surfxml_mount_id NULL
218 typedef int AT_surfxml_cluster_power;
219 #define AU_surfxml_cluster_power NULL
220 typedef int AT_surfxml_process_function;
221 #define AU_surfxml_process_function NULL
222 typedef int AT_surfxml_peer_id;
223 #define AU_surfxml_peer_id NULL
224 typedef int AT_surfxml_cluster_router_id;
225 #define AU_surfxml_cluster_router_id NULL
226 typedef enum { AU_surfxml_cluster_sharing_policy, A_surfxml_cluster_sharing_policy_SHARED,A_surfxml_cluster_sharing_policy_FULLDUPLEX,A_surfxml_cluster_sharing_policy_FATPIPE } AT_surfxml_cluster_sharing_policy;
227 typedef int AT_surfxml_bypassRoute_dst;
228 #define AU_surfxml_bypassRoute_dst NULL
229 typedef int AT_surfxml_host_core;
230 #define AU_surfxml_host_core NULL
231 typedef int AT_surfxml_host_availability;
232 #define AU_surfxml_host_availability NULL
233 typedef int AT_surfxml_storage_type_model;
234 #define AU_surfxml_storage_type_model NULL
235 typedef int AT_surfxml_bypassRoute_src;
236 #define AU_surfxml_bypassRoute_src NULL
237 typedef int AT_surfxml_route_src;
238 #define AU_surfxml_route_src NULL
239 typedef int AT_surfxml_bypassRoute_gw_dst;
240 #define AU_surfxml_bypassRoute_gw_dst NULL
241 typedef int AT_surfxml_storage_id;
242 #define AU_surfxml_storage_id NULL
243 typedef int AT_surfxml_host_coordinates;
244 #define AU_surfxml_host_coordinates NULL
245 typedef int AT_surfxml_trace_id;
246 #define AU_surfxml_trace_id NULL
247 typedef int AT_surfxml_peer_power;
248 #define AU_surfxml_peer_power NULL
249 typedef int AT_surfxml_cluster_radical;
250 #define AU_surfxml_cluster_radical NULL
251 typedef int AT_surfxml_config_id;
252 #define AU_surfxml_config_id NULL
253 typedef int AT_surfxml_bypassRoute_gw_src;
254 #define AU_surfxml_bypassRoute_gw_src NULL
255 typedef int AT_surfxml_include_file;
256 #define AU_surfxml_include_file NULL
257 typedef int AT_surfxml_random_std_deviation;
258 #define AU_surfxml_random_std_deviation NULL
259 typedef int AT_surfxml_cluster_core;
260 #define AU_surfxml_cluster_core NULL
261 typedef int AT_surfxml_host_state_file;
262 #define AU_surfxml_host_state_file NULL
263 typedef int AT_surfxml_route_dst;
264 #define AU_surfxml_route_dst NULL
265 typedef int AT_surfxml_cluster_bw;
266 #define AU_surfxml_cluster_bw NULL
267 typedef int AT_surfxml_platform_version;
268 #define AU_surfxml_platform_version NULL
269
270 /* FleXML-provided data. */
271 XBT_PUBLIC_DATA(int ) surfxml_pcdata_ix;
272 XBT_PUBLIC_DATA(char *) surfxml_bufferstack;
273 #define surfxml_pcdata (surfxml_bufferstack + surfxml_pcdata_ix)
274 XBT_PUBLIC_DATA(AT_surfxml_mount_name ) AX_surfxml_mount_name;
275 #define A_surfxml_mount_name (surfxml_bufferstack + AX_surfxml_mount_name)
276 XBT_PUBLIC_DATA(short ) int surfxml_mount_name_isset;
277 XBT_PUBLIC_DATA(AT_surfxml_random_generator ) AX_surfxml_random_generator;
278 #define A_surfxml_random_generator AX_surfxml_random_generator
279 XBT_PUBLIC_DATA(short ) int surfxml_random_generator_isset;
280 XBT_PUBLIC_DATA(AT_surfxml_ASroute_gw_dst ) AX_surfxml_ASroute_gw_dst;
281 #define A_surfxml_ASroute_gw_dst (surfxml_bufferstack + AX_surfxml_ASroute_gw_dst)
282 XBT_PUBLIC_DATA(short ) int surfxml_ASroute_gw_dst_isset;
283 XBT_PUBLIC_DATA(AT_surfxml_trace_connect_element ) AX_surfxml_trace_connect_element;
284 #define A_surfxml_trace_connect_element (surfxml_bufferstack + AX_surfxml_trace_connect_element)
285 XBT_PUBLIC_DATA(short ) int surfxml_trace_connect_element_isset;
286 XBT_PUBLIC_DATA(AT_surfxml_prop_id ) AX_surfxml_prop_id;
287 #define A_surfxml_prop_id (surfxml_bufferstack + AX_surfxml_prop_id)
288 XBT_PUBLIC_DATA(short ) int surfxml_prop_id_isset;
289 XBT_PUBLIC_DATA(AT_surfxml_host_id ) AX_surfxml_host_id;
290 #define A_surfxml_host_id (surfxml_bufferstack + AX_surfxml_host_id)
291 XBT_PUBLIC_DATA(short ) int surfxml_host_id_isset;
292 XBT_PUBLIC_DATA(AT_surfxml_ASroute_symmetrical ) AX_surfxml_ASroute_symmetrical;
293 #define A_surfxml_ASroute_symmetrical AX_surfxml_ASroute_symmetrical
294 XBT_PUBLIC_DATA(short ) int surfxml_ASroute_symmetrical_isset;
295 XBT_PUBLIC_DATA(AT_surfxml_peer_lat ) AX_surfxml_peer_lat;
296 #define A_surfxml_peer_lat (surfxml_bufferstack + AX_surfxml_peer_lat)
297 XBT_PUBLIC_DATA(short ) int surfxml_peer_lat_isset;
298 XBT_PUBLIC_DATA(AT_surfxml_link_latency_file ) AX_surfxml_link_latency_file;
299 #define A_surfxml_link_latency_file (surfxml_bufferstack + AX_surfxml_link_latency_file)
300 XBT_PUBLIC_DATA(short ) int surfxml_link_latency_file_isset;
301 XBT_PUBLIC_DATA(AT_surfxml_peer_availability_file ) AX_surfxml_peer_availability_file;
302 #define A_surfxml_peer_availability_file (surfxml_bufferstack + AX_surfxml_peer_availability_file)
303 XBT_PUBLIC_DATA(short ) int surfxml_peer_availability_file_isset;
304 XBT_PUBLIC_DATA(AT_surfxml_link_ctn_direction ) AX_surfxml_link_ctn_direction;
305 #define A_surfxml_link_ctn_direction AX_surfxml_link_ctn_direction
306 XBT_PUBLIC_DATA(short ) int surfxml_link_ctn_direction_isset;
307 XBT_PUBLIC_DATA(AT_surfxml_host_state ) AX_surfxml_host_state;
308 #define A_surfxml_host_state AX_surfxml_host_state
309 XBT_PUBLIC_DATA(short ) int surfxml_host_state_isset;
310 XBT_PUBLIC_DATA(AT_surfxml_AS_id ) AX_surfxml_AS_id;
311 #define A_surfxml_AS_id (surfxml_bufferstack + AX_surfxml_AS_id)
312 XBT_PUBLIC_DATA(short ) int surfxml_AS_id_isset;
313 XBT_PUBLIC_DATA(AT_surfxml_host_power ) AX_surfxml_host_power;
314 #define A_surfxml_host_power (surfxml_bufferstack + AX_surfxml_host_power)
315 XBT_PUBLIC_DATA(short ) int surfxml_host_power_isset;
316 XBT_PUBLIC_DATA(AT_surfxml_router_id ) AX_surfxml_router_id;
317 #define A_surfxml_router_id (surfxml_bufferstack + AX_surfxml_router_id)
318 XBT_PUBLIC_DATA(short ) int surfxml_router_id_isset;
319 XBT_PUBLIC_DATA(AT_surfxml_storage_type_id ) AX_surfxml_storage_type_id;
320 #define A_surfxml_storage_type_id (surfxml_bufferstack + AX_surfxml_storage_type_id)
321 XBT_PUBLIC_DATA(short ) int surfxml_storage_type_id_isset;
322 XBT_PUBLIC_DATA(AT_surfxml_process_start_time ) AX_surfxml_process_start_time;
323 #define A_surfxml_process_start_time (surfxml_bufferstack + AX_surfxml_process_start_time)
324 XBT_PUBLIC_DATA(short ) int surfxml_process_start_time_isset;
325 XBT_PUBLIC_DATA(AT_surfxml_cluster_suffix ) AX_surfxml_cluster_suffix;
326 #define A_surfxml_cluster_suffix (surfxml_bufferstack + AX_surfxml_cluster_suffix)
327 XBT_PUBLIC_DATA(short ) int surfxml_cluster_suffix_isset;
328 XBT_PUBLIC_DATA(AT_surfxml_ASroute_src ) AX_surfxml_ASroute_src;
329 #define A_surfxml_ASroute_src (surfxml_bufferstack + AX_surfxml_ASroute_src)
330 XBT_PUBLIC_DATA(short ) int surfxml_ASroute_src_isset;
331 XBT_PUBLIC_DATA(AT_surfxml_cluster_prefix ) AX_surfxml_cluster_prefix;
332 #define A_surfxml_cluster_prefix (surfxml_bufferstack + AX_surfxml_cluster_prefix)
333 XBT_PUBLIC_DATA(short ) int surfxml_cluster_prefix_isset;
334 XBT_PUBLIC_DATA(AT_surfxml_trace_file ) AX_surfxml_trace_file;
335 #define A_surfxml_trace_file (surfxml_bufferstack + AX_surfxml_trace_file)
336 XBT_PUBLIC_DATA(short ) int surfxml_trace_file_isset;
337 XBT_PUBLIC_DATA(AT_surfxml_link_sharing_policy ) AX_surfxml_link_sharing_policy;
338 #define A_surfxml_link_sharing_policy AX_surfxml_link_sharing_policy
339 XBT_PUBLIC_DATA(short ) int surfxml_link_sharing_policy_isset;
340 XBT_PUBLIC_DATA(AT_surfxml_storage_typeId ) AX_surfxml_storage_typeId;
341 #define A_surfxml_storage_typeId (surfxml_bufferstack + AX_surfxml_storage_typeId)
342 XBT_PUBLIC_DATA(short ) int surfxml_storage_typeId_isset;
343 XBT_PUBLIC_DATA(AT_surfxml_random_min ) AX_surfxml_random_min;
344 #define A_surfxml_random_min (surfxml_bufferstack + AX_surfxml_random_min)
345 XBT_PUBLIC_DATA(short ) int surfxml_random_min_isset;
346 XBT_PUBLIC_DATA(AT_surfxml_link_ctn_id ) AX_surfxml_link_ctn_id;
347 #define A_surfxml_link_ctn_id (surfxml_bufferstack + AX_surfxml_link_ctn_id)
348 XBT_PUBLIC_DATA(short ) int surfxml_link_ctn_id_isset;
349 XBT_PUBLIC_DATA(AT_surfxml_peer_bw_out ) AX_surfxml_peer_bw_out;
350 #define A_surfxml_peer_bw_out (surfxml_bufferstack + AX_surfxml_peer_bw_out)
351 XBT_PUBLIC_DATA(short ) int surfxml_peer_bw_out_isset;
352 XBT_PUBLIC_DATA(AT_surfxml_cluster_availability_file ) AX_surfxml_cluster_availability_file;
353 #define A_surfxml_cluster_availability_file (surfxml_bufferstack + AX_surfxml_cluster_availability_file)
354 XBT_PUBLIC_DATA(short ) int surfxml_cluster_availability_file_isset;
355 XBT_PUBLIC_DATA(AT_surfxml_process_kill_time ) AX_surfxml_process_kill_time;
356 #define A_surfxml_process_kill_time (surfxml_bufferstack + AX_surfxml_process_kill_time)
357 XBT_PUBLIC_DATA(short ) int surfxml_process_kill_time_isset;
358 XBT_PUBLIC_DATA(AT_surfxml_cluster_bb_bw ) AX_surfxml_cluster_bb_bw;
359 #define A_surfxml_cluster_bb_bw (surfxml_bufferstack + AX_surfxml_cluster_bb_bw)
360 XBT_PUBLIC_DATA(short ) int surfxml_cluster_bb_bw_isset;
361 XBT_PUBLIC_DATA(AT_surfxml_argument_value ) AX_surfxml_argument_value;
362 #define A_surfxml_argument_value (surfxml_bufferstack + AX_surfxml_argument_value)
363 XBT_PUBLIC_DATA(short ) int surfxml_argument_value_isset;
364 XBT_PUBLIC_DATA(AT_surfxml_link_state ) AX_surfxml_link_state;
365 #define A_surfxml_link_state AX_surfxml_link_state
366 XBT_PUBLIC_DATA(short ) int surfxml_link_state_isset;
367 XBT_PUBLIC_DATA(AT_surfxml_ASroute_gw_src ) AX_surfxml_ASroute_gw_src;
368 #define A_surfxml_ASroute_gw_src (surfxml_bufferstack + AX_surfxml_ASroute_gw_src)
369 XBT_PUBLIC_DATA(short ) int surfxml_ASroute_gw_src_isset;
370 XBT_PUBLIC_DATA(AT_surfxml_AS_routing ) AX_surfxml_AS_routing;
371 #define A_surfxml_AS_routing (surfxml_bufferstack + AX_surfxml_AS_routing)
372 XBT_PUBLIC_DATA(short ) int surfxml_AS_routing_isset;
373 XBT_PUBLIC_DATA(AT_surfxml_link_bandwidth ) AX_surfxml_link_bandwidth;
374 #define A_surfxml_link_bandwidth (surfxml_bufferstack + AX_surfxml_link_bandwidth)
375 XBT_PUBLIC_DATA(short ) int surfxml_link_bandwidth_isset;
376 XBT_PUBLIC_DATA(AT_surfxml_cluster_id ) AX_surfxml_cluster_id;
377 #define A_surfxml_cluster_id (surfxml_bufferstack + AX_surfxml_cluster_id)
378 XBT_PUBLIC_DATA(short ) int surfxml_cluster_id_isset;
379 XBT_PUBLIC_DATA(AT_surfxml_peer_bw_in ) AX_surfxml_peer_bw_in;
380 #define A_surfxml_peer_bw_in (surfxml_bufferstack + AX_surfxml_peer_bw_in)
381 XBT_PUBLIC_DATA(short ) int surfxml_peer_bw_in_isset;
382 XBT_PUBLIC_DATA(AT_surfxml_random_mean ) AX_surfxml_random_mean;
383 #define A_surfxml_random_mean (surfxml_bufferstack + AX_surfxml_random_mean)
384 XBT_PUBLIC_DATA(short ) int surfxml_random_mean_isset;
385 XBT_PUBLIC_DATA(AT_surfxml_cluster_bb_lat ) AX_surfxml_cluster_bb_lat;
386 #define A_surfxml_cluster_bb_lat (surfxml_bufferstack + AX_surfxml_cluster_bb_lat)
387 XBT_PUBLIC_DATA(short ) int surfxml_cluster_bb_lat_isset;
388 XBT_PUBLIC_DATA(AT_surfxml_link_latency ) AX_surfxml_link_latency;
389 #define A_surfxml_link_latency (surfxml_bufferstack + AX_surfxml_link_latency)
390 XBT_PUBLIC_DATA(short ) int surfxml_link_latency_isset;
391 XBT_PUBLIC_DATA(AT_surfxml_trace_connect_kind ) AX_surfxml_trace_connect_kind;
392 #define A_surfxml_trace_connect_kind AX_surfxml_trace_connect_kind
393 XBT_PUBLIC_DATA(short ) int surfxml_trace_connect_kind_isset;
394 XBT_PUBLIC_DATA(AT_surfxml_random_seed ) AX_surfxml_random_seed;
395 #define A_surfxml_random_seed (surfxml_bufferstack + AX_surfxml_random_seed)
396 XBT_PUBLIC_DATA(short ) int surfxml_random_seed_isset;
397 XBT_PUBLIC_DATA(AT_surfxml_cluster_state_file ) AX_surfxml_cluster_state_file;
398 #define A_surfxml_cluster_state_file (surfxml_bufferstack + AX_surfxml_cluster_state_file)
399 XBT_PUBLIC_DATA(short ) int surfxml_cluster_state_file_isset;
400 XBT_PUBLIC_DATA(AT_surfxml_link_bandwidth_file ) AX_surfxml_link_bandwidth_file;
401 #define A_surfxml_link_bandwidth_file (surfxml_bufferstack + AX_surfxml_link_bandwidth_file)
402 XBT_PUBLIC_DATA(short ) int surfxml_link_bandwidth_file_isset;
403 XBT_PUBLIC_DATA(AT_surfxml_storage_type_content ) AX_surfxml_storage_type_content;
404 #define A_surfxml_storage_type_content (surfxml_bufferstack + AX_surfxml_storage_type_content)
405 XBT_PUBLIC_DATA(short ) int surfxml_storage_type_content_isset;
406 XBT_PUBLIC_DATA(AT_surfxml_route_symmetrical ) AX_surfxml_route_symmetrical;
407 #define A_surfxml_route_symmetrical AX_surfxml_route_symmetrical
408 XBT_PUBLIC_DATA(short ) int surfxml_route_symmetrical_isset;
409 XBT_PUBLIC_DATA(AT_surfxml_random_id ) AX_surfxml_random_id;
410 #define A_surfxml_random_id (surfxml_bufferstack + AX_surfxml_random_id)
411 XBT_PUBLIC_DATA(short ) int surfxml_random_id_isset;
412 XBT_PUBLIC_DATA(AT_surfxml_mstorage_name ) AX_surfxml_mstorage_name;
413 #define A_surfxml_mstorage_name (surfxml_bufferstack + AX_surfxml_mstorage_name)
414 XBT_PUBLIC_DATA(short ) int surfxml_mstorage_name_isset;
415 XBT_PUBLIC_DATA(AT_surfxml_random_max ) AX_surfxml_random_max;
416 #define A_surfxml_random_max (surfxml_bufferstack + AX_surfxml_random_max)
417 XBT_PUBLIC_DATA(short ) int surfxml_random_max_isset;
418 XBT_PUBLIC_DATA(AT_surfxml_link_id ) AX_surfxml_link_id;
419 #define A_surfxml_link_id (surfxml_bufferstack + AX_surfxml_link_id)
420 XBT_PUBLIC_DATA(short ) int surfxml_link_id_isset;
421 XBT_PUBLIC_DATA(AT_surfxml_process_host ) AX_surfxml_process_host;
422 #define A_surfxml_process_host (surfxml_bufferstack + AX_surfxml_process_host)
423 XBT_PUBLIC_DATA(short ) int surfxml_process_host_isset;
424 XBT_PUBLIC_DATA(AT_surfxml_host_availability_file ) AX_surfxml_host_availability_file;
425 #define A_surfxml_host_availability_file (surfxml_bufferstack + AX_surfxml_host_availability_file)
426 XBT_PUBLIC_DATA(short ) int surfxml_host_availability_file_isset;
427 XBT_PUBLIC_DATA(AT_surfxml_cluster_lat ) AX_surfxml_cluster_lat;
428 #define A_surfxml_cluster_lat (surfxml_bufferstack + AX_surfxml_cluster_lat)
429 XBT_PUBLIC_DATA(short ) int surfxml_cluster_lat_isset;
430 XBT_PUBLIC_DATA(AT_surfxml_trace_periodicity ) AX_surfxml_trace_periodicity;
431 #define A_surfxml_trace_periodicity (surfxml_bufferstack + AX_surfxml_trace_periodicity)
432 XBT_PUBLIC_DATA(short ) int surfxml_trace_periodicity_isset;
433 XBT_PUBLIC_DATA(AT_surfxml_cluster_bb_sharing_policy ) AX_surfxml_cluster_bb_sharing_policy;
434 #define A_surfxml_cluster_bb_sharing_policy AX_surfxml_cluster_bb_sharing_policy
435 XBT_PUBLIC_DATA(short ) int surfxml_cluster_bb_sharing_policy_isset;
436 XBT_PUBLIC_DATA(AT_surfxml_router_coordinates ) AX_surfxml_router_coordinates;
437 #define A_surfxml_router_coordinates (surfxml_bufferstack + AX_surfxml_router_coordinates)
438 XBT_PUBLIC_DATA(short ) int surfxml_router_coordinates_isset;
439 XBT_PUBLIC_DATA(AT_surfxml_peer_coordinates ) AX_surfxml_peer_coordinates;
440 #define A_surfxml_peer_coordinates (surfxml_bufferstack + AX_surfxml_peer_coordinates)
441 XBT_PUBLIC_DATA(short ) int surfxml_peer_coordinates_isset;
442 XBT_PUBLIC_DATA(AT_surfxml_peer_state_file ) AX_surfxml_peer_state_file;
443 #define A_surfxml_peer_state_file (surfxml_bufferstack + AX_surfxml_peer_state_file)
444 XBT_PUBLIC_DATA(short ) int surfxml_peer_state_file_isset;
445 XBT_PUBLIC_DATA(AT_surfxml_prop_value ) AX_surfxml_prop_value;
446 #define A_surfxml_prop_value (surfxml_bufferstack + AX_surfxml_prop_value)
447 XBT_PUBLIC_DATA(short ) int surfxml_prop_value_isset;
448 XBT_PUBLIC_DATA(AT_surfxml_mstorage_typeId ) AX_surfxml_mstorage_typeId;
449 #define A_surfxml_mstorage_typeId (surfxml_bufferstack + AX_surfxml_mstorage_typeId)
450 XBT_PUBLIC_DATA(short ) int surfxml_mstorage_typeId_isset;
451 XBT_PUBLIC_DATA(AT_surfxml_ASroute_dst ) AX_surfxml_ASroute_dst;
452 #define A_surfxml_ASroute_dst (surfxml_bufferstack + AX_surfxml_ASroute_dst)
453 XBT_PUBLIC_DATA(short ) int surfxml_ASroute_dst_isset;
454 XBT_PUBLIC_DATA(AT_surfxml_link_state_file ) AX_surfxml_link_state_file;
455 #define A_surfxml_link_state_file (surfxml_bufferstack + AX_surfxml_link_state_file)
456 XBT_PUBLIC_DATA(short ) int surfxml_link_state_file_isset;
457 XBT_PUBLIC_DATA(AT_surfxml_random_radical ) AX_surfxml_random_radical;
458 #define A_surfxml_random_radical (surfxml_bufferstack + AX_surfxml_random_radical)
459 XBT_PUBLIC_DATA(short ) int surfxml_random_radical_isset;
460 XBT_PUBLIC_DATA(AT_surfxml_trace_connect_trace ) AX_surfxml_trace_connect_trace;
461 #define A_surfxml_trace_connect_trace (surfxml_bufferstack + AX_surfxml_trace_connect_trace)
462 XBT_PUBLIC_DATA(short ) int surfxml_trace_connect_trace_isset;
463 XBT_PUBLIC_DATA(AT_surfxml_mount_id ) AX_surfxml_mount_id;
464 #define A_surfxml_mount_id (surfxml_bufferstack + AX_surfxml_mount_id)
465 XBT_PUBLIC_DATA(short ) int surfxml_mount_id_isset;
466 XBT_PUBLIC_DATA(AT_surfxml_cluster_power ) AX_surfxml_cluster_power;
467 #define A_surfxml_cluster_power (surfxml_bufferstack + AX_surfxml_cluster_power)
468 XBT_PUBLIC_DATA(short ) int surfxml_cluster_power_isset;
469 XBT_PUBLIC_DATA(AT_surfxml_process_function ) AX_surfxml_process_function;
470 #define A_surfxml_process_function (surfxml_bufferstack + AX_surfxml_process_function)
471 XBT_PUBLIC_DATA(short ) int surfxml_process_function_isset;
472 XBT_PUBLIC_DATA(AT_surfxml_peer_id ) AX_surfxml_peer_id;
473 #define A_surfxml_peer_id (surfxml_bufferstack + AX_surfxml_peer_id)
474 XBT_PUBLIC_DATA(short ) int surfxml_peer_id_isset;
475 XBT_PUBLIC_DATA(AT_surfxml_cluster_router_id ) AX_surfxml_cluster_router_id;
476 #define A_surfxml_cluster_router_id (surfxml_bufferstack + AX_surfxml_cluster_router_id)
477 XBT_PUBLIC_DATA(short ) int surfxml_cluster_router_id_isset;
478 XBT_PUBLIC_DATA(AT_surfxml_cluster_sharing_policy ) AX_surfxml_cluster_sharing_policy;
479 #define A_surfxml_cluster_sharing_policy AX_surfxml_cluster_sharing_policy
480 XBT_PUBLIC_DATA(short ) int surfxml_cluster_sharing_policy_isset;
481 XBT_PUBLIC_DATA(AT_surfxml_bypassRoute_dst ) AX_surfxml_bypassRoute_dst;
482 #define A_surfxml_bypassRoute_dst (surfxml_bufferstack + AX_surfxml_bypassRoute_dst)
483 XBT_PUBLIC_DATA(short ) int surfxml_bypassRoute_dst_isset;
484 XBT_PUBLIC_DATA(AT_surfxml_host_core ) AX_surfxml_host_core;
485 #define A_surfxml_host_core (surfxml_bufferstack + AX_surfxml_host_core)
486 XBT_PUBLIC_DATA(short ) int surfxml_host_core_isset;
487 XBT_PUBLIC_DATA(AT_surfxml_host_availability ) AX_surfxml_host_availability;
488 #define A_surfxml_host_availability (surfxml_bufferstack + AX_surfxml_host_availability)
489 XBT_PUBLIC_DATA(short ) int surfxml_host_availability_isset;
490 XBT_PUBLIC_DATA(AT_surfxml_storage_type_model ) AX_surfxml_storage_type_model;
491 #define A_surfxml_storage_type_model (surfxml_bufferstack + AX_surfxml_storage_type_model)
492 XBT_PUBLIC_DATA(short ) int surfxml_storage_type_model_isset;
493 XBT_PUBLIC_DATA(AT_surfxml_bypassRoute_src ) AX_surfxml_bypassRoute_src;
494 #define A_surfxml_bypassRoute_src (surfxml_bufferstack + AX_surfxml_bypassRoute_src)
495 XBT_PUBLIC_DATA(short ) int surfxml_bypassRoute_src_isset;
496 XBT_PUBLIC_DATA(AT_surfxml_route_src ) AX_surfxml_route_src;
497 #define A_surfxml_route_src (surfxml_bufferstack + AX_surfxml_route_src)
498 XBT_PUBLIC_DATA(short ) int surfxml_route_src_isset;
499 XBT_PUBLIC_DATA(AT_surfxml_bypassRoute_gw_dst ) AX_surfxml_bypassRoute_gw_dst;
500 #define A_surfxml_bypassRoute_gw_dst (surfxml_bufferstack + AX_surfxml_bypassRoute_gw_dst)
501 XBT_PUBLIC_DATA(short ) int surfxml_bypassRoute_gw_dst_isset;
502 XBT_PUBLIC_DATA(AT_surfxml_storage_id ) AX_surfxml_storage_id;
503 #define A_surfxml_storage_id (surfxml_bufferstack + AX_surfxml_storage_id)
504 XBT_PUBLIC_DATA(short ) int surfxml_storage_id_isset;
505 XBT_PUBLIC_DATA(AT_surfxml_host_coordinates ) AX_surfxml_host_coordinates;
506 #define A_surfxml_host_coordinates (surfxml_bufferstack + AX_surfxml_host_coordinates)
507 XBT_PUBLIC_DATA(short ) int surfxml_host_coordinates_isset;
508 XBT_PUBLIC_DATA(AT_surfxml_trace_id ) AX_surfxml_trace_id;
509 #define A_surfxml_trace_id (surfxml_bufferstack + AX_surfxml_trace_id)
510 XBT_PUBLIC_DATA(short ) int surfxml_trace_id_isset;
511 XBT_PUBLIC_DATA(AT_surfxml_peer_power ) AX_surfxml_peer_power;
512 #define A_surfxml_peer_power (surfxml_bufferstack + AX_surfxml_peer_power)
513 XBT_PUBLIC_DATA(short ) int surfxml_peer_power_isset;
514 XBT_PUBLIC_DATA(AT_surfxml_cluster_radical ) AX_surfxml_cluster_radical;
515 #define A_surfxml_cluster_radical (surfxml_bufferstack + AX_surfxml_cluster_radical)
516 XBT_PUBLIC_DATA(short ) int surfxml_cluster_radical_isset;
517 XBT_PUBLIC_DATA(AT_surfxml_config_id ) AX_surfxml_config_id;
518 #define A_surfxml_config_id (surfxml_bufferstack + AX_surfxml_config_id)
519 XBT_PUBLIC_DATA(short ) int surfxml_config_id_isset;
520 XBT_PUBLIC_DATA(AT_surfxml_bypassRoute_gw_src ) AX_surfxml_bypassRoute_gw_src;
521 #define A_surfxml_bypassRoute_gw_src (surfxml_bufferstack + AX_surfxml_bypassRoute_gw_src)
522 XBT_PUBLIC_DATA(short ) int surfxml_bypassRoute_gw_src_isset;
523 XBT_PUBLIC_DATA(AT_surfxml_include_file ) AX_surfxml_include_file;
524 #define A_surfxml_include_file (surfxml_bufferstack + AX_surfxml_include_file)
525 XBT_PUBLIC_DATA(short ) int surfxml_include_file_isset;
526 XBT_PUBLIC_DATA(AT_surfxml_random_std_deviation ) AX_surfxml_random_std_deviation;
527 #define A_surfxml_random_std_deviation (surfxml_bufferstack + AX_surfxml_random_std_deviation)
528 XBT_PUBLIC_DATA(short ) int surfxml_random_std_deviation_isset;
529 XBT_PUBLIC_DATA(AT_surfxml_cluster_core ) AX_surfxml_cluster_core;
530 #define A_surfxml_cluster_core (surfxml_bufferstack + AX_surfxml_cluster_core)
531 XBT_PUBLIC_DATA(short ) int surfxml_cluster_core_isset;
532 XBT_PUBLIC_DATA(AT_surfxml_host_state_file ) AX_surfxml_host_state_file;
533 #define A_surfxml_host_state_file (surfxml_bufferstack + AX_surfxml_host_state_file)
534 XBT_PUBLIC_DATA(short ) int surfxml_host_state_file_isset;
535 XBT_PUBLIC_DATA(AT_surfxml_route_dst ) AX_surfxml_route_dst;
536 #define A_surfxml_route_dst (surfxml_bufferstack + AX_surfxml_route_dst)
537 XBT_PUBLIC_DATA(short ) int surfxml_route_dst_isset;
538 XBT_PUBLIC_DATA(AT_surfxml_cluster_bw ) AX_surfxml_cluster_bw;
539 #define A_surfxml_cluster_bw (surfxml_bufferstack + AX_surfxml_cluster_bw)
540 XBT_PUBLIC_DATA(short ) int surfxml_cluster_bw_isset;
541 XBT_PUBLIC_DATA(AT_surfxml_platform_version ) AX_surfxml_platform_version;
542 #define A_surfxml_platform_version (surfxml_bufferstack + AX_surfxml_platform_version)
543 XBT_PUBLIC_DATA(short ) int surfxml_platform_version_isset;
544
545 /* XML application utilities. */
546 XBT_PUBLIC(int ) surfxml_element_context(int);
547
548 /* XML processor entry point. */
549 XBT_PUBLIC(int ) yylex(void);
550
551 /* Flexml error handling function (useful only when -q flag passed to flexml) */
552 const char * surfxml_parse_err_msg(void);
553 #endif