1 /* XML processor/application API for ../../src/surf/surfxml.dtd.
2 * Generated 2005/01/09 15:25:15.
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.
8 * You can redistribute and/or modify this program provided the following
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.
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.
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.
24 #ifndef _FLEXML_surfxml_H
25 #define _FLEXML_surfxml_H
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);
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_route_impact_on_dst_with_other_send;
64 #define AU_route_impact_on_dst_with_other_send NULL
65 typedef const char* AT_cpu_interference_send_recv;
66 #define AU_cpu_interference_send_recv NULL
67 typedef const char* AT_cpu_availability;
68 #define AU_cpu_availability NULL
69 typedef const char* AT_route_impact_on_dst;
70 #define AU_route_impact_on_dst NULL
71 typedef const char* AT_cpu_interference_recv;
72 #define AU_cpu_interference_recv NULL
73 typedef const char* AT_route_impact_on_src_with_other_recv;
74 #define AU_route_impact_on_src_with_other_recv NULL
75 typedef const char* AT_network_link_name;
76 #define AU_network_link_name NULL
77 typedef const char* AT_route_element_name;
78 #define AU_route_element_name NULL
79 typedef const char* AT_cpu_power;
80 #define AU_cpu_power NULL
81 typedef const char* AT_include_file;
82 #define AU_include_file NULL
83 typedef const char* AT_process_function;
84 #define AU_process_function NULL
85 typedef const char* AT_route_dst;
86 #define AU_route_dst NULL
87 typedef enum { AU_cpu_state, A_cpu_state_ON,A_cpu_state_OFF } AT_cpu_state;
88 typedef const char* AT_network_link_latency;
89 #define AU_network_link_latency NULL
90 typedef const char* AT_network_link_state_file;
91 #define AU_network_link_state_file NULL
92 typedef const char* AT_cpu_interference_send;
93 #define AU_cpu_interference_send NULL
94 typedef const char* AT_cpu_state_file;
95 #define AU_cpu_state_file NULL
96 typedef const char* AT_network_link_bandwidth_file;
97 #define AU_network_link_bandwidth_file NULL
99 /* FleXML-provided data. */
100 extern const char* pcdata;
101 extern AT_network_link_bandwidth A_network_link_bandwidth;
102 extern AT_cpu_name A_cpu_name;
103 extern AT_network_link_state A_network_link_state;
104 extern AT_argument_value A_argument_value;
105 extern AT_cpu_availability_file A_cpu_availability_file;
106 extern AT_process_host A_process_host;
107 extern AT_route_impact_on_src A_route_impact_on_src;
108 extern AT_route_src A_route_src;
109 extern AT_network_link_latency_file A_network_link_latency_file;
110 extern AT_route_impact_on_dst_with_other_send A_route_impact_on_dst_with_other_send;
111 extern AT_cpu_interference_send_recv A_cpu_interference_send_recv;
112 extern AT_cpu_availability A_cpu_availability;
113 extern AT_route_impact_on_dst A_route_impact_on_dst;
114 extern AT_cpu_interference_recv A_cpu_interference_recv;
115 extern AT_route_impact_on_src_with_other_recv A_route_impact_on_src_with_other_recv;
116 extern AT_network_link_name A_network_link_name;
117 extern AT_route_element_name A_route_element_name;
118 extern AT_cpu_power A_cpu_power;
119 extern AT_include_file A_include_file;
120 extern AT_process_function A_process_function;
121 extern AT_route_dst A_route_dst;
122 extern AT_cpu_state A_cpu_state;
123 extern AT_network_link_latency A_network_link_latency;
124 extern AT_network_link_state_file A_network_link_state_file;
125 extern AT_cpu_interference_send A_cpu_interference_send;
126 extern AT_cpu_state_file A_cpu_state_file;
127 extern AT_network_link_bandwidth_file A_network_link_bandwidth_file;
129 /* XML application utilities. */
130 extern int element_context(int);
132 /* XML processor entry point. */
133 extern int yylex(void);