-/* Validating XML processor for surfxml.dtd.
- * Generated 2006/04/22 01:36:54.
+/* Validating XML processor for surf/surfxml.dtd.
+ * Generated 2006/07/18 21:02:15.
*
* This program was generated with the FleXML XML processor generator.
- * FleXML is Copyright © 1999-2005 Kristoffer Rose. All rights reserved.
- * (Id: flexml.pl,v 1.48 2006/03/21 13:09:12 mquinson Exp).
+ * FleXML is Copyright (C) 1999-2005 Kristoffer Rose. All rights reserved.
+ * FleXML is Copyright (C) 2003-2006 Martin Quinson. All rights reserved.
+ * (Id: flexml.pl,v 1.53 2006/07/18 12:12:06 mquinson Exp).
*
* There are two, intertwined parts to this program, part A and part B.
*
* ------
*
* Some parts, here collectively called "Part A", are found in the
- * FleXML package. They are Copyright © 1999-2005 Kristoffer Rose.
- * All rights reserved.
+ * FleXML package. They are Copyright (C) 1999-2005 Kristoffer Rose
+ * and Copyright (C) 2003-2006 Martin Quinson. All rights reserved.
*
* You can redistribute, use, perform, display and/or modify "Part A"
* provided the following two conditions hold:
/* Version strings. */
const char rcs_surfxml_flexml_skeleton[] =
- "$" "Id: skel,v 1.28 2006/03/21 12:04:13 legranda Exp $";
+ "$" "Id: skel,v 1.31 2006/07/18 18:21:13 mquinson Exp $";
const char rcs_surfxml_flexml[] =
- "$" "Id: flexml.pl,v 1.48 2006/03/21 13:09:12 mquinson Exp $";
+ "$" "Id: flexml.pl,v 1.53 2006/07/18 12:12:06 mquinson Exp $";
/* ANSI headers. */
#include <unistd.h>
/* FleXML-provided data. */
const char* surfxml_pcdata;
AT_surfxml_network_link_bandwidth A_surfxml_network_link_bandwidth;
+AT_surfxml_process_host A_surfxml_process_host;
+AT_surfxml_network_link_latency_file A_surfxml_network_link_latency_file;
+AT_surfxml_route_impact_on_dst_with_other_send A_surfxml_route_impact_on_dst_with_other_send;
+AT_surfxml_cpu_interference_send_recv A_surfxml_cpu_interference_send_recv;
+AT_surfxml_route_impact_on_dst A_surfxml_route_impact_on_dst;
+AT_surfxml_platform_description_version A_surfxml_platform_description_version;
+AT_surfxml_route_impact_on_src_with_other_recv A_surfxml_route_impact_on_src_with_other_recv;
+AT_surfxml_route_element_name A_surfxml_route_element_name;
+AT_surfxml_process_start_time A_surfxml_process_start_time;
+AT_surfxml_process_function A_surfxml_process_function;
+AT_surfxml_cpu_state A_surfxml_cpu_state;
+AT_surfxml_cpu_interference_send A_surfxml_cpu_interference_send;
+AT_surfxml_network_link_bandwidth_file A_surfxml_network_link_bandwidth_file;
AT_surfxml_cpu_name A_surfxml_cpu_name;
AT_surfxml_process_kill_time A_surfxml_process_kill_time;
AT_surfxml_network_link_state A_surfxml_network_link_state;
-AT_surfxml_argument_value A_surfxml_argument_value;
AT_surfxml_cpu_availability_file A_surfxml_cpu_availability_file;
-AT_surfxml_process_host A_surfxml_process_host;
-AT_surfxml_route_impact_on_src A_surfxml_route_impact_on_src;
+AT_surfxml_argument_value A_surfxml_argument_value;
AT_surfxml_route_src A_surfxml_route_src;
-AT_surfxml_network_link_latency_file A_surfxml_network_link_latency_file;
+AT_surfxml_route_impact_on_src A_surfxml_route_impact_on_src;
AT_surfxml_cpu_max_outgoing_rate A_surfxml_cpu_max_outgoing_rate;
-AT_surfxml_route_impact_on_dst_with_other_send A_surfxml_route_impact_on_dst_with_other_send;
-AT_surfxml_cpu_interference_send_recv A_surfxml_cpu_interference_send_recv;
AT_surfxml_cpu_availability A_surfxml_cpu_availability;
-AT_surfxml_route_impact_on_dst A_surfxml_route_impact_on_dst;
AT_surfxml_cpu_interference_recv A_surfxml_cpu_interference_recv;
-AT_surfxml_route_impact_on_src_with_other_recv A_surfxml_route_impact_on_src_with_other_recv;
AT_surfxml_network_link_name A_surfxml_network_link_name;
-AT_surfxml_route_element_name A_surfxml_route_element_name;
AT_surfxml_cpu_power A_surfxml_cpu_power;
-AT_surfxml_process_start_time A_surfxml_process_start_time;
AT_surfxml_include_file A_surfxml_include_file;
-AT_surfxml_process_function A_surfxml_process_function;
AT_surfxml_network_link_sharing_policy A_surfxml_network_link_sharing_policy;
AT_surfxml_route_dst A_surfxml_route_dst;
-AT_surfxml_cpu_state A_surfxml_cpu_state;
AT_surfxml_network_link_latency A_surfxml_network_link_latency;
-AT_surfxml_network_link_state_file A_surfxml_network_link_state_file;
-AT_surfxml_cpu_interference_send A_surfxml_cpu_interference_send;
AT_surfxml_cpu_state_file A_surfxml_cpu_state_file;
-AT_surfxml_network_link_bandwidth_file A_surfxml_network_link_bandwidth_file;
+AT_surfxml_network_link_state_file A_surfxml_network_link_state_file;
/* XML state. */
#ifdef FLEX_DEBUG
static char bufferstack[FLEXML_BUFFERSTACKSIZE];
static char* limit = bufferstack + FLEXML_BUFFERSTACKSIZE;
typedef struct BufferLast_s {
- struct BufferLast_s *old; char* saved; char new1[1];
+ struct BufferLast_s *old; const char* saved; char new1[1];
} BufferLast;
#ifdef FLEXML_HasMixed
static BufferLast* last = (BufferLast*)0;
}
#ifdef FLEXML_HasMixed
-static void pushbuffer(char* p)
+static void pushbuffer(const char* p)
{
BufferLast* l = (BufferLast*)next;
assert(next < limit);
last = l;
}
-static char* popbuffer(void)
+static const char* popbuffer(void)
{
BufferLast* l = last;
assert(last != (BufferLast*)0);
/* <!-- Small DTD for SURF based tools. --> */
<ROOT_surfxml_platform_description>"<platform_description"{s} {
+ A_surfxml_platform_description_version = "0.0";
ENTER(AL_surfxml_platform_description);
}
<AL_surfxml_platform_description>{
+ "version"{Eq}\' ENTER(VALUE1); BUFFERSET(A_surfxml_platform_description_version);
+ "version"{Eq}\" ENTER(VALUE2); BUFFERSET(A_surfxml_platform_description_version);
+
">" {
LEAVE; STag_surfxml_platform_description();surfxml_pcdata = NULL; ENTER(S_surfxml_platform_description);
}