X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/509afa8dafbfc8a505586e5447a1ed4c76cf0ae3..0e0cb631580d4ee1271998cf2bcaec6c99e48282:/src/include/surf/surfxml.h diff --git a/src/include/surf/surfxml.h b/src/include/surf/surfxml.h index 4916c7c7bb..862e25f180 100644 --- a/src/include/surf/surfxml.h +++ b/src/include/surf/surfxml.h @@ -1,12 +1,21 @@ -/* XML processor/application API for ../../src/surf/surfxml.dtd. - * Generated 2005/01/27 07:41:00. +/* XML processor/application API for ../../surf/surfxml.dtd. + * Generated 2005/07/25 10:16:11. * - * This program was generated with the FleXML XML processor generator, - * (Id: flexml.pl,v 1.35 2005/01/05 06:29:58 legranda Exp). - * Copyright © 1999 Kristoffer Rose. All rights reserved. + * 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.44 2005/02/23 23:08:16 mquinson Exp). + * + * There are two, intertwined parts to this program, part A and part B. * - * You can redistribute and/or modify this program provided the following - * two conditions hold: + * Part A + * ------ + * + * Some parts, here collectively called "Part A", are found in the + * FleXML package. They are Copyright © 1999-2005 Kristoffer Rose. + * All rights reserved. + * + * You can redistribute, use, perform, display and/or modify "Part A" + * provided the following two conditions hold: * * 1. The program is distributed WITHOUT ANY WARRANTY from the author of * FleXML; without even the implied warranty of MERCHANTABILITY or @@ -19,6 +28,20 @@ * Notice that these are explicit rights granted to you for files * generated by the FleXML system. For your rights in connection with * the FleXML system itself please consult the GNU General Public License. + * + * Part B + * ------ + * + * The other parts, here collectively called "Part B", and which came + * from the DTD used by FleXML to generate this program, can be + * distributed (or not, as the case may be) under the terms of whoever + * wrote them, provided these terms respect and obey the two conditions + * above under the heading "Part A". + * + * The author of and contributors to FleXML specifically disclaim + * any copyright interest in "Part B", unless "Part B" was written + * by the author of or contributors to FleXML. + * */ #ifndef _FLEXML_surfxml_H @@ -47,6 +70,8 @@ typedef const char* AT_network_link_bandwidth; #define AU_network_link_bandwidth NULL typedef const char* AT_cpu_name; #define AU_cpu_name NULL +typedef const char* AT_process_kill_time; +#define AU_process_kill_time NULL typedef enum { AU_network_link_state, A_network_link_state_ON,A_network_link_state_OFF } AT_network_link_state; typedef const char* AT_argument_value; #define AU_argument_value NULL @@ -80,10 +105,13 @@ typedef const char* AT_route_element_name; #define AU_route_element_name NULL typedef const char* AT_cpu_power; #define AU_cpu_power NULL +typedef const char* AT_process_start_time; +#define AU_process_start_time NULL typedef const char* AT_include_file; #define AU_include_file NULL typedef const char* AT_process_function; #define AU_process_function NULL +typedef enum { AU_network_link_sharing_policy, A_network_link_sharing_policy_SHARED,A_network_link_sharing_policy_FATPIPE } AT_network_link_sharing_policy; typedef const char* AT_route_dst; #define AU_route_dst NULL typedef enum { AU_cpu_state, A_cpu_state_ON,A_cpu_state_OFF } AT_cpu_state; @@ -102,6 +130,7 @@ typedef const char* AT_network_link_bandwidth_file; extern const char* pcdata; extern AT_network_link_bandwidth A_network_link_bandwidth; extern AT_cpu_name A_cpu_name; +extern AT_process_kill_time A_process_kill_time; extern AT_network_link_state A_network_link_state; extern AT_argument_value A_argument_value; extern AT_cpu_availability_file A_cpu_availability_file; @@ -119,8 +148,10 @@ extern AT_route_impact_on_src_with_other_recv A_route_impact_on_src_with_other_r extern AT_network_link_name A_network_link_name; extern AT_route_element_name A_route_element_name; extern AT_cpu_power A_cpu_power; +extern AT_process_start_time A_process_start_time; extern AT_include_file A_include_file; extern AT_process_function A_process_function; +extern AT_network_link_sharing_policy A_network_link_sharing_policy; extern AT_route_dst A_route_dst; extern AT_cpu_state A_cpu_state; extern AT_network_link_latency A_network_link_latency; @@ -135,4 +166,6 @@ extern int element_context(int); /* XML processor entry point. */ extern int yylex(void); +/* Flexml error handling function (useful only when -q flag passed to flexml) */ +const char * parse_err_msg(void); #endif