Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
2f78c409dfa9a4ea554ba9319b6bb1b81e108cd7
[simgrid.git] / include / surf / simgrid_dtd.h
1 /* XML processor/application API for src/surf/simgrid.dtd.
2  * Generated 2010/09/15 14:21:30.
3  *
4  * This program was generated with the FleXML XML processor generator.
5  * FleXML is Copyright (C) 1999-2005 Kristoffer Rose.  All rights reserved.
6  * FleXML is Copyright (C) 2003-2006 Martin Quinson.  All rights reserved.
7  * (Id: flexml.pl,v 1.62 2007/10/11 10:00:14 mquinson Exp).
8  * 
9  * There are two, intertwined parts to this program, part A and part B.
10  *
11  * Part A
12  * ------
13  * 
14  * Some parts, here collectively called "Part A", are found in the 
15  * FleXML package.  They are Copyright (C) 1999-2005 Kristoffer Rose
16  * and Copyright (C) 2003-2006 Martin Quinson. All rights reserved.
17  *
18  * You can redistribute, use, perform, display and/or modify "Part A"
19  * provided the following two conditions hold:
20  *
21  * 1. The program is distributed WITHOUT ANY WARRANTY from the author of
22  *    FleXML; without even the implied warranty of MERCHANTABILITY or
23  *    FITNESS FOR A PARTICULAR PURPOSE.
24  *
25  * 2. The program distribution conditions do not in any way affect the
26  *    distribution conditions of the FleXML system used to generate this
27  *    file or any version of FleXML derived from that system.
28  *
29  * Notice that these are explicit rights granted to you for files
30  * generated by the FleXML system.  For your rights in connection with
31  * the FleXML system itself please consult the GNU General Public License.
32  * 
33  * Part B
34  * ------
35  * 
36  * The other parts, here collectively called "Part B", and which came 
37  * from the DTD used by FleXML to generate this program, can be 
38  * distributed (or not, as the case may be) under the terms of whoever
39  * wrote them, provided these terms respect and obey the two conditions 
40  * above under the heading "Part A".
41  *
42  * The author of and contributors to FleXML specifically disclaim
43  * any copyright interest in "Part B", unless "Part B" was written 
44  * by the author of or contributors to FleXML.
45  * 
46  */
47
48 #ifndef _FLEXML_simgrid_H
49 #define _FLEXML_simgrid_H
50
51 /* XML application entry points. */
52 XBT_PUBLIC(void ) STag_surfxml_platform(void);
53 XBT_PUBLIC(void ) ETag_surfxml_platform(void);
54 XBT_PUBLIC(void ) STag_surfxml_trace(void);
55 XBT_PUBLIC(void ) ETag_surfxml_trace(void);
56 XBT_PUBLIC(void ) STag_surfxml_random(void);
57 XBT_PUBLIC(void ) ETag_surfxml_random(void);
58 XBT_PUBLIC(void ) STag_surfxml_trace_c_connect(void);
59 XBT_PUBLIC(void ) ETag_surfxml_trace_c_connect(void);
60 XBT_PUBLIC(void ) STag_surfxml_AS(void);
61 XBT_PUBLIC(void ) ETag_surfxml_AS(void);
62 XBT_PUBLIC(void ) STag_surfxml_host(void);
63 XBT_PUBLIC(void ) ETag_surfxml_host(void);
64 XBT_PUBLIC(void ) STag_surfxml_router(void);
65 XBT_PUBLIC(void ) ETag_surfxml_router(void);
66 XBT_PUBLIC(void ) STag_surfxml_link(void);
67 XBT_PUBLIC(void ) ETag_surfxml_link(void);
68 XBT_PUBLIC(void ) STag_surfxml_route(void);
69 XBT_PUBLIC(void ) ETag_surfxml_route(void);
70 XBT_PUBLIC(void ) STag_surfxml_ASroute(void);
71 XBT_PUBLIC(void ) ETag_surfxml_ASroute(void);
72 XBT_PUBLIC(void ) STag_surfxml_link_c_ctn(void);
73 XBT_PUBLIC(void ) ETag_surfxml_link_c_ctn(void);
74 XBT_PUBLIC(void ) STag_surfxml_bypassRoute(void);
75 XBT_PUBLIC(void ) ETag_surfxml_bypassRoute(void);
76 XBT_PUBLIC(void ) STag_surfxml_process(void);
77 XBT_PUBLIC(void ) ETag_surfxml_process(void);
78 XBT_PUBLIC(void ) STag_surfxml_argument(void);
79 XBT_PUBLIC(void ) ETag_surfxml_argument(void);
80 XBT_PUBLIC(void ) STag_surfxml_prop(void);
81 XBT_PUBLIC(void ) ETag_surfxml_prop(void);
82
83 /* XML application data. */
84 typedef enum { AU_surfxml_random_generator, A_surfxml_random_generator_DRAND48,A_surfxml_random_generator_RAND } AT_surfxml_random_generator;
85 typedef int AT_surfxml_ASroute_gw_dst;
86 #define AU_surfxml_ASroute_gw_dst NULL
87 typedef int AT_surfxml_link_id;
88 #define AU_surfxml_link_id NULL
89 typedef int AT_surfxml_prop_id;
90 #define AU_surfxml_prop_id NULL
91 typedef int AT_surfxml_host_interference_recv;
92 #define AU_surfxml_host_interference_recv NULL
93 typedef int AT_surfxml_host_id;
94 #define AU_surfxml_host_id NULL
95 typedef int AT_surfxml_link_latency_file;
96 #define AU_surfxml_link_latency_file NULL
97 typedef int AT_surfxml_process_host;
98 #define AU_surfxml_process_host NULL
99 typedef enum { AU_surfxml_host_state, A_surfxml_host_state_ON,A_surfxml_host_state_OFF } AT_surfxml_host_state;
100 typedef int AT_surfxml_host_availability_file;
101 #define AU_surfxml_host_availability_file NULL
102 typedef int AT_surfxml_host_interference_send_recv;
103 #define AU_surfxml_host_interference_send_recv NULL
104 typedef int AT_surfxml_trace_periodicity;
105 #define AU_surfxml_trace_periodicity NULL
106 typedef int AT_surfxml_host_interference_send;
107 #define AU_surfxml_host_interference_send NULL
108 typedef int AT_surfxml_prop_value;
109 #define AU_surfxml_prop_value NULL
110 typedef int AT_surfxml_AS_id;
111 #define AU_surfxml_AS_id NULL
112 typedef int AT_surfxml_ASroute_dst;
113 #define AU_surfxml_ASroute_dst NULL
114 typedef int AT_surfxml_host_power;
115 #define AU_surfxml_host_power NULL
116 typedef int AT_surfxml_link_state_file;
117 #define AU_surfxml_link_state_file NULL
118 typedef int AT_surfxml_router_id;
119 #define AU_surfxml_router_id NULL
120 typedef int AT_surfxml_process_start_time;
121 #define AU_surfxml_process_start_time NULL
122 typedef int AT_surfxml_platform_xmlns_c_route;
123 #define AU_surfxml_platform_xmlns_c_route NULL
124 typedef int AT_surfxml_process_function;
125 #define AU_surfxml_process_function NULL
126 typedef int AT_surfxml_ASroute_src;
127 #define AU_surfxml_ASroute_src NULL
128 typedef int AT_surfxml_host_max_outgoing_rate;
129 #define AU_surfxml_host_max_outgoing_rate NULL
130 typedef int AT_surfxml_trace_file;
131 #define AU_surfxml_trace_file NULL
132 typedef enum { AU_surfxml_link_sharing_policy, A_surfxml_link_sharing_policy_SHARED,A_surfxml_link_sharing_policy_FATPIPE } AT_surfxml_link_sharing_policy;
133 typedef int AT_surfxml_link_c_ctn_id;
134 #define AU_surfxml_link_c_ctn_id NULL
135 typedef int AT_surfxml_random_min;
136 #define AU_surfxml_random_min NULL
137 typedef int AT_surfxml_bypassRoute_dst;
138 #define AU_surfxml_bypassRoute_dst NULL
139 typedef int AT_surfxml_process_kill_time;
140 #define AU_surfxml_process_kill_time NULL
141 typedef int AT_surfxml_host_availability;
142 #define AU_surfxml_host_availability NULL
143 typedef int AT_surfxml_trace_c_connect_element;
144 #define AU_surfxml_trace_c_connect_element NULL
145 typedef int AT_surfxml_argument_value;
146 #define AU_surfxml_argument_value NULL
147 typedef int AT_surfxml_bypassRoute_src;
148 #define AU_surfxml_bypassRoute_src NULL
149 typedef enum { AU_surfxml_link_state, A_surfxml_link_state_ON,A_surfxml_link_state_OFF } AT_surfxml_link_state;
150 typedef int AT_surfxml_ASroute_gw_src;
151 #define AU_surfxml_ASroute_gw_src NULL
152 typedef int AT_surfxml_route_src;
153 #define AU_surfxml_route_src NULL
154 typedef int AT_surfxml_AS_routing;
155 #define AU_surfxml_AS_routing NULL
156 typedef int AT_surfxml_link_bandwidth;
157 #define AU_surfxml_link_bandwidth NULL
158 typedef int AT_surfxml_bypassRoute_gw_dst;
159 #define AU_surfxml_bypassRoute_gw_dst NULL
160 typedef int AT_surfxml_trace_c_connect_trace;
161 #define AU_surfxml_trace_c_connect_trace NULL
162 typedef int AT_surfxml_random_mean;
163 #define AU_surfxml_random_mean NULL
164 typedef int AT_surfxml_trace_id;
165 #define AU_surfxml_trace_id NULL
166 typedef int AT_surfxml_link_latency;
167 #define AU_surfxml_link_latency NULL
168 typedef int AT_surfxml_platform_xmlns_c_link;
169 #define AU_surfxml_platform_xmlns_c_link NULL
170 typedef int AT_surfxml_bypassRoute_gw_src;
171 #define AU_surfxml_bypassRoute_gw_src NULL
172 typedef enum { AU_surfxml_trace_c_connect_kind, A_surfxml_trace_c_connect_kind_HOST_AVAIL,A_surfxml_trace_c_connect_kind_POWER,A_surfxml_trace_c_connect_kind_LINK_AVAIL,A_surfxml_trace_c_connect_kind_BANDWIDTH,A_surfxml_trace_c_connect_kind_LATENCY } AT_surfxml_trace_c_connect_kind;
173 typedef int AT_surfxml_random_std_deviation;
174 #define AU_surfxml_random_std_deviation NULL
175 typedef int AT_surfxml_host_vivaldi;
176 #define AU_surfxml_host_vivaldi NULL
177 typedef int AT_surfxml_link_bandwidth_file;
178 #define AU_surfxml_link_bandwidth_file NULL
179 typedef int AT_surfxml_host_state_file;
180 #define AU_surfxml_host_state_file NULL
181 typedef int AT_surfxml_random_id;
182 #define AU_surfxml_random_id NULL
183 typedef int AT_surfxml_route_dst;
184 #define AU_surfxml_route_dst NULL
185 typedef int AT_surfxml_random_max;
186 #define AU_surfxml_random_max NULL
187 typedef int AT_surfxml_platform_version;
188 #define AU_surfxml_platform_version NULL
189
190 /* FleXML-provided data. */
191 XBT_PUBLIC_DATA(int ) surfxml_pcdata_ix;
192 XBT_PUBLIC_DATA(char *) surfxml_bufferstack;
193 #define surfxml_pcdata (surfxml_bufferstack + surfxml_pcdata_ix)
194 XBT_PUBLIC_DATA(AT_surfxml_random_generator ) AX_surfxml_random_generator;
195 #define A_surfxml_random_generator AX_surfxml_random_generator
196 XBT_PUBLIC_DATA(AT_surfxml_ASroute_gw_dst ) AX_surfxml_ASroute_gw_dst;
197 #define A_surfxml_ASroute_gw_dst (surfxml_bufferstack + AX_surfxml_ASroute_gw_dst)
198 XBT_PUBLIC_DATA(AT_surfxml_link_id ) AX_surfxml_link_id;
199 #define A_surfxml_link_id (surfxml_bufferstack + AX_surfxml_link_id)
200 XBT_PUBLIC_DATA(AT_surfxml_prop_id ) AX_surfxml_prop_id;
201 #define A_surfxml_prop_id (surfxml_bufferstack + AX_surfxml_prop_id)
202 XBT_PUBLIC_DATA(AT_surfxml_host_interference_recv ) AX_surfxml_host_interference_recv;
203 #define A_surfxml_host_interference_recv (surfxml_bufferstack + AX_surfxml_host_interference_recv)
204 XBT_PUBLIC_DATA(AT_surfxml_host_id ) AX_surfxml_host_id;
205 #define A_surfxml_host_id (surfxml_bufferstack + AX_surfxml_host_id)
206 XBT_PUBLIC_DATA(AT_surfxml_link_latency_file ) AX_surfxml_link_latency_file;
207 #define A_surfxml_link_latency_file (surfxml_bufferstack + AX_surfxml_link_latency_file)
208 XBT_PUBLIC_DATA(AT_surfxml_process_host ) AX_surfxml_process_host;
209 #define A_surfxml_process_host (surfxml_bufferstack + AX_surfxml_process_host)
210 XBT_PUBLIC_DATA(AT_surfxml_host_state ) AX_surfxml_host_state;
211 #define A_surfxml_host_state AX_surfxml_host_state
212 XBT_PUBLIC_DATA(AT_surfxml_host_availability_file ) AX_surfxml_host_availability_file;
213 #define A_surfxml_host_availability_file (surfxml_bufferstack + AX_surfxml_host_availability_file)
214 XBT_PUBLIC_DATA(AT_surfxml_host_interference_send_recv ) AX_surfxml_host_interference_send_recv;
215 #define A_surfxml_host_interference_send_recv (surfxml_bufferstack + AX_surfxml_host_interference_send_recv)
216 XBT_PUBLIC_DATA(AT_surfxml_trace_periodicity ) AX_surfxml_trace_periodicity;
217 #define A_surfxml_trace_periodicity (surfxml_bufferstack + AX_surfxml_trace_periodicity)
218 XBT_PUBLIC_DATA(AT_surfxml_host_interference_send ) AX_surfxml_host_interference_send;
219 #define A_surfxml_host_interference_send (surfxml_bufferstack + AX_surfxml_host_interference_send)
220 XBT_PUBLIC_DATA(AT_surfxml_prop_value ) AX_surfxml_prop_value;
221 #define A_surfxml_prop_value (surfxml_bufferstack + AX_surfxml_prop_value)
222 XBT_PUBLIC_DATA(AT_surfxml_AS_id ) AX_surfxml_AS_id;
223 #define A_surfxml_AS_id (surfxml_bufferstack + AX_surfxml_AS_id)
224 XBT_PUBLIC_DATA(AT_surfxml_ASroute_dst ) AX_surfxml_ASroute_dst;
225 #define A_surfxml_ASroute_dst (surfxml_bufferstack + AX_surfxml_ASroute_dst)
226 XBT_PUBLIC_DATA(AT_surfxml_host_power ) AX_surfxml_host_power;
227 #define A_surfxml_host_power (surfxml_bufferstack + AX_surfxml_host_power)
228 XBT_PUBLIC_DATA(AT_surfxml_link_state_file ) AX_surfxml_link_state_file;
229 #define A_surfxml_link_state_file (surfxml_bufferstack + AX_surfxml_link_state_file)
230 XBT_PUBLIC_DATA(AT_surfxml_router_id ) AX_surfxml_router_id;
231 #define A_surfxml_router_id (surfxml_bufferstack + AX_surfxml_router_id)
232 XBT_PUBLIC_DATA(AT_surfxml_process_start_time ) AX_surfxml_process_start_time;
233 #define A_surfxml_process_start_time (surfxml_bufferstack + AX_surfxml_process_start_time)
234 XBT_PUBLIC_DATA(AT_surfxml_platform_xmlns_c_route ) AX_surfxml_platform_xmlns_c_route;
235 #define A_surfxml_platform_xmlns_c_route (surfxml_bufferstack + AX_surfxml_platform_xmlns_c_route)
236 XBT_PUBLIC_DATA(AT_surfxml_process_function ) AX_surfxml_process_function;
237 #define A_surfxml_process_function (surfxml_bufferstack + AX_surfxml_process_function)
238 XBT_PUBLIC_DATA(AT_surfxml_ASroute_src ) AX_surfxml_ASroute_src;
239 #define A_surfxml_ASroute_src (surfxml_bufferstack + AX_surfxml_ASroute_src)
240 XBT_PUBLIC_DATA(AT_surfxml_host_max_outgoing_rate ) AX_surfxml_host_max_outgoing_rate;
241 #define A_surfxml_host_max_outgoing_rate (surfxml_bufferstack + AX_surfxml_host_max_outgoing_rate)
242 XBT_PUBLIC_DATA(AT_surfxml_trace_file ) AX_surfxml_trace_file;
243 #define A_surfxml_trace_file (surfxml_bufferstack + AX_surfxml_trace_file)
244 XBT_PUBLIC_DATA(AT_surfxml_link_sharing_policy ) AX_surfxml_link_sharing_policy;
245 #define A_surfxml_link_sharing_policy AX_surfxml_link_sharing_policy
246 XBT_PUBLIC_DATA(AT_surfxml_link_c_ctn_id ) AX_surfxml_link_c_ctn_id;
247 #define A_surfxml_link_c_ctn_id (surfxml_bufferstack + AX_surfxml_link_c_ctn_id)
248 XBT_PUBLIC_DATA(AT_surfxml_random_min ) AX_surfxml_random_min;
249 #define A_surfxml_random_min (surfxml_bufferstack + AX_surfxml_random_min)
250 XBT_PUBLIC_DATA(AT_surfxml_bypassRoute_dst ) AX_surfxml_bypassRoute_dst;
251 #define A_surfxml_bypassRoute_dst (surfxml_bufferstack + AX_surfxml_bypassRoute_dst)
252 XBT_PUBLIC_DATA(AT_surfxml_process_kill_time ) AX_surfxml_process_kill_time;
253 #define A_surfxml_process_kill_time (surfxml_bufferstack + AX_surfxml_process_kill_time)
254 XBT_PUBLIC_DATA(AT_surfxml_host_availability ) AX_surfxml_host_availability;
255 #define A_surfxml_host_availability (surfxml_bufferstack + AX_surfxml_host_availability)
256 XBT_PUBLIC_DATA(AT_surfxml_trace_c_connect_element ) AX_surfxml_trace_c_connect_element;
257 #define A_surfxml_trace_c_connect_element (surfxml_bufferstack + AX_surfxml_trace_c_connect_element)
258 XBT_PUBLIC_DATA(AT_surfxml_argument_value ) AX_surfxml_argument_value;
259 #define A_surfxml_argument_value (surfxml_bufferstack + AX_surfxml_argument_value)
260 XBT_PUBLIC_DATA(AT_surfxml_bypassRoute_src ) AX_surfxml_bypassRoute_src;
261 #define A_surfxml_bypassRoute_src (surfxml_bufferstack + AX_surfxml_bypassRoute_src)
262 XBT_PUBLIC_DATA(AT_surfxml_link_state ) AX_surfxml_link_state;
263 #define A_surfxml_link_state AX_surfxml_link_state
264 XBT_PUBLIC_DATA(AT_surfxml_ASroute_gw_src ) AX_surfxml_ASroute_gw_src;
265 #define A_surfxml_ASroute_gw_src (surfxml_bufferstack + AX_surfxml_ASroute_gw_src)
266 XBT_PUBLIC_DATA(AT_surfxml_route_src ) AX_surfxml_route_src;
267 #define A_surfxml_route_src (surfxml_bufferstack + AX_surfxml_route_src)
268 XBT_PUBLIC_DATA(AT_surfxml_AS_routing ) AX_surfxml_AS_routing;
269 #define A_surfxml_AS_routing (surfxml_bufferstack + AX_surfxml_AS_routing)
270 XBT_PUBLIC_DATA(AT_surfxml_link_bandwidth ) AX_surfxml_link_bandwidth;
271 #define A_surfxml_link_bandwidth (surfxml_bufferstack + AX_surfxml_link_bandwidth)
272 XBT_PUBLIC_DATA(AT_surfxml_bypassRoute_gw_dst ) AX_surfxml_bypassRoute_gw_dst;
273 #define A_surfxml_bypassRoute_gw_dst (surfxml_bufferstack + AX_surfxml_bypassRoute_gw_dst)
274 XBT_PUBLIC_DATA(AT_surfxml_trace_c_connect_trace ) AX_surfxml_trace_c_connect_trace;
275 #define A_surfxml_trace_c_connect_trace (surfxml_bufferstack + AX_surfxml_trace_c_connect_trace)
276 XBT_PUBLIC_DATA(AT_surfxml_random_mean ) AX_surfxml_random_mean;
277 #define A_surfxml_random_mean (surfxml_bufferstack + AX_surfxml_random_mean)
278 XBT_PUBLIC_DATA(AT_surfxml_trace_id ) AX_surfxml_trace_id;
279 #define A_surfxml_trace_id (surfxml_bufferstack + AX_surfxml_trace_id)
280 XBT_PUBLIC_DATA(AT_surfxml_link_latency ) AX_surfxml_link_latency;
281 #define A_surfxml_link_latency (surfxml_bufferstack + AX_surfxml_link_latency)
282 XBT_PUBLIC_DATA(AT_surfxml_platform_xmlns_c_link ) AX_surfxml_platform_xmlns_c_link;
283 #define A_surfxml_platform_xmlns_c_link (surfxml_bufferstack + AX_surfxml_platform_xmlns_c_link)
284 XBT_PUBLIC_DATA(AT_surfxml_bypassRoute_gw_src ) AX_surfxml_bypassRoute_gw_src;
285 #define A_surfxml_bypassRoute_gw_src (surfxml_bufferstack + AX_surfxml_bypassRoute_gw_src)
286 XBT_PUBLIC_DATA(AT_surfxml_trace_c_connect_kind ) AX_surfxml_trace_c_connect_kind;
287 #define A_surfxml_trace_c_connect_kind AX_surfxml_trace_c_connect_kind
288 XBT_PUBLIC_DATA(AT_surfxml_random_std_deviation ) AX_surfxml_random_std_deviation;
289 #define A_surfxml_random_std_deviation (surfxml_bufferstack + AX_surfxml_random_std_deviation)
290 XBT_PUBLIC_DATA(AT_surfxml_host_vivaldi ) AX_surfxml_host_vivaldi;
291 #define A_surfxml_host_vivaldi (surfxml_bufferstack + AX_surfxml_host_vivaldi)
292 XBT_PUBLIC_DATA(AT_surfxml_link_bandwidth_file ) AX_surfxml_link_bandwidth_file;
293 #define A_surfxml_link_bandwidth_file (surfxml_bufferstack + AX_surfxml_link_bandwidth_file)
294 XBT_PUBLIC_DATA(AT_surfxml_host_state_file ) AX_surfxml_host_state_file;
295 #define A_surfxml_host_state_file (surfxml_bufferstack + AX_surfxml_host_state_file)
296 XBT_PUBLIC_DATA(AT_surfxml_random_id ) AX_surfxml_random_id;
297 #define A_surfxml_random_id (surfxml_bufferstack + AX_surfxml_random_id)
298 XBT_PUBLIC_DATA(AT_surfxml_route_dst ) AX_surfxml_route_dst;
299 #define A_surfxml_route_dst (surfxml_bufferstack + AX_surfxml_route_dst)
300 XBT_PUBLIC_DATA(AT_surfxml_random_max ) AX_surfxml_random_max;
301 #define A_surfxml_random_max (surfxml_bufferstack + AX_surfxml_random_max)
302 XBT_PUBLIC_DATA(AT_surfxml_platform_version ) AX_surfxml_platform_version;
303 #define A_surfxml_platform_version (surfxml_bufferstack + AX_surfxml_platform_version)
304
305 /* XML application utilities. */
306 XBT_PUBLIC(int ) surfxml_element_context(int);
307
308 /* XML processor entry point. */
309 XBT_PUBLIC(int ) yylex(void);
310
311 /* Flexml error handling function (useful only when -q flag passed to flexml) */
312 const char * surfxml_parse_err_msg(void);
313 #endif