Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Regenerate with the lastest flexml (does only fix the copyright header)
[simgrid.git] / src / include / surf / surfxml.h
1 /* XML processor/application API for ../../surf/surfxml.dtd.
2  * Generated 2005/04/07 14:48:26.
3  *
4  * This program was generated with the FleXML XML processor generator.
5  * FleXML is Copyright © 1999-2005 Kristoffer Rose.  All rights reserved.
6  * (Id: flexml.pl,v 1.44 2005/02/23 23:08:16 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 © 1999-2005 Kristoffer Rose. 
15  * 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_surfxml_H
48 #define _FLEXML_surfxml_H
49
50 /* XML application entry points. */
51 extern void STag_platform_description(void);
52 extern void ETag_platform_description(void);
53 extern void STag_include(void);
54 extern void ETag_include(void);
55 extern void STag_cpu(void);
56 extern void ETag_cpu(void);
57 extern void STag_network_link(void);
58 extern void ETag_network_link(void);
59 extern void STag_route(void);
60 extern void ETag_route(void);
61 extern void STag_route_element(void);
62 extern void ETag_route_element(void);
63 extern void STag_process(void);
64 extern void ETag_process(void);
65 extern void STag_argument(void);
66 extern void ETag_argument(void);
67
68 /* XML application data. */
69 typedef const char* AT_network_link_bandwidth;
70 #define AU_network_link_bandwidth NULL
71 typedef const char* AT_cpu_name;
72 #define AU_cpu_name NULL
73 typedef enum { AU_network_link_state, A_network_link_state_ON,A_network_link_state_OFF } AT_network_link_state;
74 typedef const char* AT_argument_value;
75 #define AU_argument_value NULL
76 typedef const char* AT_cpu_availability_file;
77 #define AU_cpu_availability_file NULL
78 typedef const char* AT_process_host;
79 #define AU_process_host NULL
80 typedef const char* AT_route_impact_on_src;
81 #define AU_route_impact_on_src NULL
82 typedef const char* AT_route_src;
83 #define AU_route_src NULL
84 typedef const char* AT_network_link_latency_file;
85 #define AU_network_link_latency_file NULL
86 typedef const char* AT_cpu_max_outgoing_rate;
87 #define AU_cpu_max_outgoing_rate NULL
88 typedef const char* AT_route_impact_on_dst_with_other_send;
89 #define AU_route_impact_on_dst_with_other_send NULL
90 typedef const char* AT_cpu_interference_send_recv;
91 #define AU_cpu_interference_send_recv NULL
92 typedef const char* AT_cpu_availability;
93 #define AU_cpu_availability NULL
94 typedef const char* AT_route_impact_on_dst;
95 #define AU_route_impact_on_dst NULL
96 typedef const char* AT_cpu_interference_recv;
97 #define AU_cpu_interference_recv NULL
98 typedef const char* AT_route_impact_on_src_with_other_recv;
99 #define AU_route_impact_on_src_with_other_recv NULL
100 typedef const char* AT_network_link_name;
101 #define AU_network_link_name NULL
102 typedef const char* AT_route_element_name;
103 #define AU_route_element_name NULL
104 typedef const char* AT_cpu_power;
105 #define AU_cpu_power NULL
106 typedef const char* AT_include_file;
107 #define AU_include_file NULL
108 typedef const char* AT_process_function;
109 #define AU_process_function NULL
110 typedef const char* AT_route_dst;
111 #define AU_route_dst NULL
112 typedef enum { AU_cpu_state, A_cpu_state_ON,A_cpu_state_OFF } AT_cpu_state;
113 typedef const char* AT_network_link_latency;
114 #define AU_network_link_latency NULL
115 typedef const char* AT_network_link_state_file;
116 #define AU_network_link_state_file NULL
117 typedef const char* AT_cpu_interference_send;
118 #define AU_cpu_interference_send NULL
119 typedef const char* AT_cpu_state_file;
120 #define AU_cpu_state_file NULL
121 typedef const char* AT_network_link_bandwidth_file;
122 #define AU_network_link_bandwidth_file NULL
123
124 /* FleXML-provided data. */
125 extern const char* pcdata;
126 extern AT_network_link_bandwidth A_network_link_bandwidth;
127 extern AT_cpu_name A_cpu_name;
128 extern AT_network_link_state A_network_link_state;
129 extern AT_argument_value A_argument_value;
130 extern AT_cpu_availability_file A_cpu_availability_file;
131 extern AT_process_host A_process_host;
132 extern AT_route_impact_on_src A_route_impact_on_src;
133 extern AT_route_src A_route_src;
134 extern AT_network_link_latency_file A_network_link_latency_file;
135 extern AT_cpu_max_outgoing_rate A_cpu_max_outgoing_rate;
136 extern AT_route_impact_on_dst_with_other_send A_route_impact_on_dst_with_other_send;
137 extern AT_cpu_interference_send_recv A_cpu_interference_send_recv;
138 extern AT_cpu_availability A_cpu_availability;
139 extern AT_route_impact_on_dst A_route_impact_on_dst;
140 extern AT_cpu_interference_recv A_cpu_interference_recv;
141 extern AT_route_impact_on_src_with_other_recv A_route_impact_on_src_with_other_recv;
142 extern AT_network_link_name A_network_link_name;
143 extern AT_route_element_name A_route_element_name;
144 extern AT_cpu_power A_cpu_power;
145 extern AT_include_file A_include_file;
146 extern AT_process_function A_process_function;
147 extern AT_route_dst A_route_dst;
148 extern AT_cpu_state A_cpu_state;
149 extern AT_network_link_latency A_network_link_latency;
150 extern AT_network_link_state_file A_network_link_state_file;
151 extern AT_cpu_interference_send A_cpu_interference_send;
152 extern AT_cpu_state_file A_cpu_state_file;
153 extern AT_network_link_bandwidth_file A_network_link_bandwidth_file;
154
155 /* XML application utilities. */
156 extern int element_context(int);
157
158 /* XML processor entry point. */
159 extern int yylex(void);
160
161 /* Flexml error handling function (useful only when -q flag passed to flexml) */
162 const char * parse_err_msg(void);
163 #endif