Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
426743e30d5d2ab27d31d12f71035ffb59f236f3
[simgrid.git] / src / include / surf / surfxml.h
1 /* XML processor/application API for ../../src/surf/surfxml.dtd.
2  * Generated 2005/01/04 14:37:22.
3  *
4  * This program was generated with the FleXML XML processor generator,
5  * (Id: flexml.pl,v 1.29 2005/01/04 09:30:15 alegrand 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_cpu(void);
31 extern void ETag_cpu(void);
32 extern void STag_network_link(void);
33 extern void ETag_network_link(void);
34 extern void STag_route(void);
35 extern void ETag_route(void);
36 extern void STag_route_element(void);
37 extern void ETag_route_element(void);
38 extern void STag_process(void);
39 extern void ETag_process(void);
40 extern void STag_argument(void);
41 extern void ETag_argument(void);
42
43 /* XML application data. */
44 typedef const char* AT_network_link_bandwidth;
45 #define AU_network_link_bandwidth NULL
46 typedef const char* AT_cpu_name;
47 #define AU_cpu_name NULL
48 typedef enum { AU_network_link_state, A_network_link_state_ON,A_network_link_state_OFF } AT_network_link_state;
49 typedef const char* AT_argument_value;
50 #define AU_argument_value NULL
51 typedef const char* AT_cpu_availability_file;
52 #define AU_cpu_availability_file NULL
53 typedef const char* AT_process_host;
54 #define AU_process_host NULL
55 typedef const char* AT_route_src;
56 #define AU_route_src NULL
57 typedef const char* AT_network_link_latency_file;
58 #define AU_network_link_latency_file NULL
59 typedef const char* AT_cpu_availability;
60 #define AU_cpu_availability NULL
61 typedef const char* AT_network_link_name;
62 #define AU_network_link_name NULL
63 typedef const char* AT_route_element_name;
64 #define AU_route_element_name NULL
65 typedef const char* AT_cpu_power;
66 #define AU_cpu_power NULL
67 typedef const char* AT_process_function;
68 #define AU_process_function NULL
69 typedef enum { AU_cpu_state, A_cpu_state_ON,A_cpu_state_OFF } AT_cpu_state;
70 typedef const char* AT_route_dst;
71 #define AU_route_dst NULL
72 typedef const char* AT_network_link_latency;
73 #define AU_network_link_latency NULL
74 typedef const char* AT_cpu_state_file;
75 #define AU_cpu_state_file NULL
76 typedef const char* AT_network_link_state_file;
77 #define AU_network_link_state_file NULL
78 typedef const char* AT_network_link_bandwidth_file;
79 #define AU_network_link_bandwidth_file NULL
80
81 /* FleXML-provided data. */
82 extern const char* pcdata;
83 extern AT_network_link_bandwidth A_network_link_bandwidth;
84 extern AT_cpu_name A_cpu_name;
85 extern AT_network_link_state A_network_link_state;
86 extern AT_argument_value A_argument_value;
87 extern AT_cpu_availability_file A_cpu_availability_file;
88 extern AT_process_host A_process_host;
89 extern AT_route_src A_route_src;
90 extern AT_network_link_latency_file A_network_link_latency_file;
91 extern AT_cpu_availability A_cpu_availability;
92 extern AT_network_link_name A_network_link_name;
93 extern AT_route_element_name A_route_element_name;
94 extern AT_cpu_power A_cpu_power;
95 extern AT_process_function A_process_function;
96 extern AT_cpu_state A_cpu_state;
97 extern AT_route_dst A_route_dst;
98 extern AT_network_link_latency A_network_link_latency;
99 extern AT_cpu_state_file A_cpu_state_file;
100 extern AT_network_link_state_file A_network_link_state_file;
101 extern AT_network_link_bandwidth_file A_network_link_bandwidth_file;
102
103 /* XML application utilities. */
104 extern int element_context(int);
105
106 /* XML processor entry point. */
107 extern int yylex(void);
108
109 #endif