Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
I probably had been drinking too much the day I have written this command... Sorry...
[simgrid.git] / src / include / surf / surfxml.h
1 /* XML processor/application API for ../../src/surf/surfxml.dtd.
2  * Generated 2005/01/27 07:41:00.
3  *
4  * This program was generated with the FleXML XML processor generator,
5  * (Id: flexml.pl,v 1.35 2005/01/05 06:29:58 legranda Exp).
6  * Copyright © 1999 Kristoffer Rose.  All rights reserved.
7  *
8  * You can redistribute and/or modify this program provided the following
9  * two conditions hold:
10  *
11  * 1. The program is distributed WITHOUT ANY WARRANTY from the author of
12  *    FleXML; without even the implied warranty of MERCHANTABILITY or
13  *    FITNESS FOR A PARTICULAR PURPOSE.
14  *
15  * 2. The program distribution conditions do not in any way affect the
16  *    distribution conditions of the FleXML system used to generate this
17  *    file or any version of FleXML derived from that system.
18  *
19  * Notice that these are explicit rights granted to you for files
20  * generated by the FleXML system.  For your rights in connection with
21  * the FleXML system itself please consult the GNU General Public License.
22  */
23
24 #ifndef _FLEXML_surfxml_H
25 #define _FLEXML_surfxml_H
26
27 /* XML application entry points. */
28 extern void STag_platform_description(void);
29 extern void ETag_platform_description(void);
30 extern void STag_include(void);
31 extern void ETag_include(void);
32 extern void STag_cpu(void);
33 extern void ETag_cpu(void);
34 extern void STag_network_link(void);
35 extern void ETag_network_link(void);
36 extern void STag_route(void);
37 extern void ETag_route(void);
38 extern void STag_route_element(void);
39 extern void ETag_route_element(void);
40 extern void STag_process(void);
41 extern void ETag_process(void);
42 extern void STag_argument(void);
43 extern void ETag_argument(void);
44
45 /* XML application data. */
46 typedef const char* AT_network_link_bandwidth;
47 #define AU_network_link_bandwidth NULL
48 typedef const char* AT_cpu_name;
49 #define AU_cpu_name NULL
50 typedef enum { AU_network_link_state, A_network_link_state_ON,A_network_link_state_OFF } AT_network_link_state;
51 typedef const char* AT_argument_value;
52 #define AU_argument_value NULL
53 typedef const char* AT_cpu_availability_file;
54 #define AU_cpu_availability_file NULL
55 typedef const char* AT_process_host;
56 #define AU_process_host NULL
57 typedef const char* AT_route_impact_on_src;
58 #define AU_route_impact_on_src NULL
59 typedef const char* AT_route_src;
60 #define AU_route_src NULL
61 typedef const char* AT_network_link_latency_file;
62 #define AU_network_link_latency_file NULL
63 typedef const char* AT_cpu_max_outgoing_rate;
64 #define AU_cpu_max_outgoing_rate NULL
65 typedef const char* AT_route_impact_on_dst_with_other_send;
66 #define AU_route_impact_on_dst_with_other_send NULL
67 typedef const char* AT_cpu_interference_send_recv;
68 #define AU_cpu_interference_send_recv NULL
69 typedef const char* AT_cpu_availability;
70 #define AU_cpu_availability NULL
71 typedef const char* AT_route_impact_on_dst;
72 #define AU_route_impact_on_dst NULL
73 typedef const char* AT_cpu_interference_recv;
74 #define AU_cpu_interference_recv NULL
75 typedef const char* AT_route_impact_on_src_with_other_recv;
76 #define AU_route_impact_on_src_with_other_recv NULL
77 typedef const char* AT_network_link_name;
78 #define AU_network_link_name NULL
79 typedef const char* AT_route_element_name;
80 #define AU_route_element_name NULL
81 typedef const char* AT_cpu_power;
82 #define AU_cpu_power NULL
83 typedef const char* AT_include_file;
84 #define AU_include_file NULL
85 typedef const char* AT_process_function;
86 #define AU_process_function NULL
87 typedef const char* AT_route_dst;
88 #define AU_route_dst NULL
89 typedef enum { AU_cpu_state, A_cpu_state_ON,A_cpu_state_OFF } AT_cpu_state;
90 typedef const char* AT_network_link_latency;
91 #define AU_network_link_latency NULL
92 typedef const char* AT_network_link_state_file;
93 #define AU_network_link_state_file NULL
94 typedef const char* AT_cpu_interference_send;
95 #define AU_cpu_interference_send NULL
96 typedef const char* AT_cpu_state_file;
97 #define AU_cpu_state_file NULL
98 typedef const char* AT_network_link_bandwidth_file;
99 #define AU_network_link_bandwidth_file NULL
100
101 /* FleXML-provided data. */
102 extern const char* pcdata;
103 extern AT_network_link_bandwidth A_network_link_bandwidth;
104 extern AT_cpu_name A_cpu_name;
105 extern AT_network_link_state A_network_link_state;
106 extern AT_argument_value A_argument_value;
107 extern AT_cpu_availability_file A_cpu_availability_file;
108 extern AT_process_host A_process_host;
109 extern AT_route_impact_on_src A_route_impact_on_src;
110 extern AT_route_src A_route_src;
111 extern AT_network_link_latency_file A_network_link_latency_file;
112 extern AT_cpu_max_outgoing_rate A_cpu_max_outgoing_rate;
113 extern AT_route_impact_on_dst_with_other_send A_route_impact_on_dst_with_other_send;
114 extern AT_cpu_interference_send_recv A_cpu_interference_send_recv;
115 extern AT_cpu_availability A_cpu_availability;
116 extern AT_route_impact_on_dst A_route_impact_on_dst;
117 extern AT_cpu_interference_recv A_cpu_interference_recv;
118 extern AT_route_impact_on_src_with_other_recv A_route_impact_on_src_with_other_recv;
119 extern AT_network_link_name A_network_link_name;
120 extern AT_route_element_name A_route_element_name;
121 extern AT_cpu_power A_cpu_power;
122 extern AT_include_file A_include_file;
123 extern AT_process_function A_process_function;
124 extern AT_route_dst A_route_dst;
125 extern AT_cpu_state A_cpu_state;
126 extern AT_network_link_latency A_network_link_latency;
127 extern AT_network_link_state_file A_network_link_state_file;
128 extern AT_cpu_interference_send A_cpu_interference_send;
129 extern AT_cpu_state_file A_cpu_state_file;
130 extern AT_network_link_bandwidth_file A_network_link_bandwidth_file;
131
132 /* XML application utilities. */
133 extern int element_context(int);
134
135 /* XML processor entry point. */
136 extern int yylex(void);
137
138 #endif