Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ace18bbb5932fc8400c59ed9f80f236ae75ff459
[simgrid.git] / src / include / surf / surfxml.h
1 /* XML processor/application API for ../../src/surf/surfxml.dtd.
2  * Generated 2005/01/05 17:50:46.
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_route_impact_on_computation;
47 #define AU_route_impact_on_computation NULL
48 typedef const char* AT_network_link_bandwidth;
49 #define AU_network_link_bandwidth NULL
50 typedef const char* AT_cpu_name;
51 #define AU_cpu_name NULL
52 typedef enum { AU_network_link_state, A_network_link_state_ON,A_network_link_state_OFF } AT_network_link_state;
53 typedef const char* AT_argument_value;
54 #define AU_argument_value NULL
55 typedef const char* AT_cpu_availability_file;
56 #define AU_cpu_availability_file NULL
57 typedef const char* AT_process_host;
58 #define AU_process_host 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_availability;
64 #define AU_cpu_availability NULL
65 typedef const char* AT_network_link_name;
66 #define AU_network_link_name NULL
67 typedef const char* AT_route_element_name;
68 #define AU_route_element_name NULL
69 typedef const char* AT_cpu_power;
70 #define AU_cpu_power NULL
71 typedef const char* AT_include_file;
72 #define AU_include_file NULL
73 typedef const char* AT_process_function;
74 #define AU_process_function NULL
75 typedef enum { AU_cpu_state, A_cpu_state_ON,A_cpu_state_OFF } AT_cpu_state;
76 typedef const char* AT_route_dst;
77 #define AU_route_dst NULL
78 typedef const char* AT_network_link_latency;
79 #define AU_network_link_latency NULL
80 typedef const char* AT_cpu_state_file;
81 #define AU_cpu_state_file NULL
82 typedef const char* AT_network_link_state_file;
83 #define AU_network_link_state_file NULL
84 typedef const char* AT_network_link_bandwidth_file;
85 #define AU_network_link_bandwidth_file NULL
86
87 /* FleXML-provided data. */
88 extern const char* pcdata;
89 extern AT_route_impact_on_computation A_route_impact_on_computation;
90 extern AT_network_link_bandwidth A_network_link_bandwidth;
91 extern AT_cpu_name A_cpu_name;
92 extern AT_network_link_state A_network_link_state;
93 extern AT_argument_value A_argument_value;
94 extern AT_cpu_availability_file A_cpu_availability_file;
95 extern AT_process_host A_process_host;
96 extern AT_route_src A_route_src;
97 extern AT_network_link_latency_file A_network_link_latency_file;
98 extern AT_cpu_availability A_cpu_availability;
99 extern AT_network_link_name A_network_link_name;
100 extern AT_route_element_name A_route_element_name;
101 extern AT_cpu_power A_cpu_power;
102 extern AT_include_file A_include_file;
103 extern AT_process_function A_process_function;
104 extern AT_cpu_state A_cpu_state;
105 extern AT_route_dst A_route_dst;
106 extern AT_network_link_latency A_network_link_latency;
107 extern AT_cpu_state_file A_cpu_state_file;
108 extern AT_network_link_state_file A_network_link_state_file;
109 extern AT_network_link_bandwidth_file A_network_link_bandwidth_file;
110
111 /* XML application utilities. */
112 extern int element_context(int);
113
114 /* XML processor entry point. */
115 extern int yylex(void);
116
117 #endif