X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c6c66880378f9cfc2376913f4263f95d4bf28b69..0bfb3cdebf6d1a0105a7a738a602015ed583a39e:/include/surf/surfxml.h diff --git a/include/surf/surfxml.h b/include/surf/surfxml.h index 1055c01468..a59b9e69ef 100644 --- a/include/surf/surfxml.h +++ b/include/surf/surfxml.h @@ -1,9 +1,10 @@ -/* XML processor/application API for ../../src/surf/surfxml.dtd. - * Generated 2006/04/22 01:36:54. +/* XML processor/application API for surf/surfxml.dtd. + * Generated 2007/05/16 11:14: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.61 2006/09/13 16:34:33 wdowling Exp). * * There are two, intertwined parts to this program, part A and part B. * @@ -11,8 +12,8 @@ * ------ * * 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: @@ -54,6 +55,8 @@ extern void STag_surfxml_include(void); extern void ETag_surfxml_include(void); extern void STag_surfxml_cpu(void); extern void ETag_surfxml_cpu(void); +extern void STag_surfxml_router(void); +extern void ETag_surfxml_router(void); extern void STag_surfxml_network_link(void); extern void ETag_surfxml_network_link(void); extern void STag_surfxml_route(void); @@ -66,99 +69,140 @@ extern void STag_surfxml_argument(void); extern void ETag_surfxml_argument(void); /* XML application data. */ -typedef const char* AT_surfxml_network_link_bandwidth; +typedef int AT_surfxml_network_link_bandwidth; #define AU_surfxml_network_link_bandwidth NULL -typedef const char* AT_surfxml_cpu_name; +typedef int AT_surfxml_router_name; +#define AU_surfxml_router_name NULL +typedef int AT_surfxml_process_host; +#define AU_surfxml_process_host NULL +typedef int AT_surfxml_network_link_latency_file; +#define AU_surfxml_network_link_latency_file NULL +typedef int AT_surfxml_route_impact_on_dst_with_other_send; +#define AU_surfxml_route_impact_on_dst_with_other_send NULL +typedef int AT_surfxml_cpu_interference_send_recv; +#define AU_surfxml_cpu_interference_send_recv NULL +typedef int AT_surfxml_route_impact_on_dst; +#define AU_surfxml_route_impact_on_dst NULL +typedef int AT_surfxml_platform_description_version; +#define AU_surfxml_platform_description_version NULL +typedef int AT_surfxml_route_impact_on_src_with_other_recv; +#define AU_surfxml_route_impact_on_src_with_other_recv NULL +typedef int AT_surfxml_route_element_name; +#define AU_surfxml_route_element_name NULL +typedef int AT_surfxml_process_start_time; +#define AU_surfxml_process_start_time NULL +typedef int AT_surfxml_process_function; +#define AU_surfxml_process_function NULL +typedef enum { AU_surfxml_cpu_state, A_surfxml_cpu_state_ON,A_surfxml_cpu_state_OFF } AT_surfxml_cpu_state; +typedef int AT_surfxml_cpu_interference_send; +#define AU_surfxml_cpu_interference_send NULL +typedef int AT_surfxml_network_link_bandwidth_file; +#define AU_surfxml_network_link_bandwidth_file NULL +typedef int AT_surfxml_cpu_name; #define AU_surfxml_cpu_name NULL -typedef const char* AT_surfxml_process_kill_time; +typedef int AT_surfxml_process_kill_time; #define AU_surfxml_process_kill_time NULL typedef enum { AU_surfxml_network_link_state, A_surfxml_network_link_state_ON,A_surfxml_network_link_state_OFF } AT_surfxml_network_link_state; -typedef const char* AT_surfxml_argument_value; -#define AU_surfxml_argument_value NULL -typedef const char* AT_surfxml_cpu_availability_file; +typedef int AT_surfxml_cpu_availability_file; #define AU_surfxml_cpu_availability_file NULL -typedef const char* AT_surfxml_process_host; -#define AU_surfxml_process_host NULL -typedef const char* AT_surfxml_route_impact_on_src; -#define AU_surfxml_route_impact_on_src NULL -typedef const char* AT_surfxml_route_src; +typedef int AT_surfxml_argument_value; +#define AU_surfxml_argument_value NULL +typedef int AT_surfxml_route_src; #define AU_surfxml_route_src NULL -typedef const char* AT_surfxml_network_link_latency_file; -#define AU_surfxml_network_link_latency_file NULL -typedef const char* AT_surfxml_cpu_max_outgoing_rate; +typedef int AT_surfxml_route_impact_on_src; +#define AU_surfxml_route_impact_on_src NULL +typedef int AT_surfxml_cpu_max_outgoing_rate; #define AU_surfxml_cpu_max_outgoing_rate NULL -typedef const char* AT_surfxml_route_impact_on_dst_with_other_send; -#define AU_surfxml_route_impact_on_dst_with_other_send NULL -typedef const char* AT_surfxml_cpu_interference_send_recv; -#define AU_surfxml_cpu_interference_send_recv NULL -typedef const char* AT_surfxml_cpu_availability; +typedef int AT_surfxml_cpu_availability; #define AU_surfxml_cpu_availability NULL -typedef const char* AT_surfxml_route_impact_on_dst; -#define AU_surfxml_route_impact_on_dst NULL -typedef const char* AT_surfxml_cpu_interference_recv; +typedef int AT_surfxml_cpu_interference_recv; #define AU_surfxml_cpu_interference_recv NULL -typedef const char* AT_surfxml_route_impact_on_src_with_other_recv; -#define AU_surfxml_route_impact_on_src_with_other_recv NULL -typedef const char* AT_surfxml_network_link_name; +typedef int AT_surfxml_network_link_name; #define AU_surfxml_network_link_name NULL -typedef const char* AT_surfxml_route_element_name; -#define AU_surfxml_route_element_name NULL -typedef const char* AT_surfxml_cpu_power; +typedef int AT_surfxml_cpu_power; #define AU_surfxml_cpu_power NULL -typedef const char* AT_surfxml_process_start_time; -#define AU_surfxml_process_start_time NULL -typedef const char* AT_surfxml_include_file; +typedef int AT_surfxml_include_file; #define AU_surfxml_include_file NULL -typedef const char* AT_surfxml_process_function; -#define AU_surfxml_process_function NULL typedef enum { AU_surfxml_network_link_sharing_policy, A_surfxml_network_link_sharing_policy_SHARED,A_surfxml_network_link_sharing_policy_FATPIPE } AT_surfxml_network_link_sharing_policy; -typedef const char* AT_surfxml_route_dst; +typedef int AT_surfxml_route_dst; #define AU_surfxml_route_dst NULL -typedef enum { AU_surfxml_cpu_state, A_surfxml_cpu_state_ON,A_surfxml_cpu_state_OFF } AT_surfxml_cpu_state; -typedef const char* AT_surfxml_network_link_latency; +typedef int AT_surfxml_network_link_latency; #define AU_surfxml_network_link_latency NULL -typedef const char* AT_surfxml_network_link_state_file; -#define AU_surfxml_network_link_state_file NULL -typedef const char* AT_surfxml_cpu_interference_send; -#define AU_surfxml_cpu_interference_send NULL -typedef const char* AT_surfxml_cpu_state_file; +typedef int AT_surfxml_cpu_state_file; #define AU_surfxml_cpu_state_file NULL -typedef const char* AT_surfxml_network_link_bandwidth_file; -#define AU_surfxml_network_link_bandwidth_file NULL +typedef int AT_surfxml_network_link_state_file; +#define AU_surfxml_network_link_state_file NULL /* FleXML-provided data. */ -extern const char* surfxml_pcdata; -extern AT_surfxml_network_link_bandwidth A_surfxml_network_link_bandwidth; -extern AT_surfxml_cpu_name A_surfxml_cpu_name; -extern AT_surfxml_process_kill_time A_surfxml_process_kill_time; -extern AT_surfxml_network_link_state A_surfxml_network_link_state; -extern AT_surfxml_argument_value A_surfxml_argument_value; -extern AT_surfxml_cpu_availability_file A_surfxml_cpu_availability_file; -extern AT_surfxml_process_host A_surfxml_process_host; -extern AT_surfxml_route_impact_on_src A_surfxml_route_impact_on_src; -extern AT_surfxml_route_src A_surfxml_route_src; -extern AT_surfxml_network_link_latency_file A_surfxml_network_link_latency_file; -extern AT_surfxml_cpu_max_outgoing_rate A_surfxml_cpu_max_outgoing_rate; -extern AT_surfxml_route_impact_on_dst_with_other_send A_surfxml_route_impact_on_dst_with_other_send; -extern AT_surfxml_cpu_interference_send_recv A_surfxml_cpu_interference_send_recv; -extern AT_surfxml_cpu_availability A_surfxml_cpu_availability; -extern AT_surfxml_route_impact_on_dst A_surfxml_route_impact_on_dst; -extern AT_surfxml_cpu_interference_recv A_surfxml_cpu_interference_recv; -extern AT_surfxml_route_impact_on_src_with_other_recv A_surfxml_route_impact_on_src_with_other_recv; -extern AT_surfxml_network_link_name A_surfxml_network_link_name; -extern AT_surfxml_route_element_name A_surfxml_route_element_name; -extern AT_surfxml_cpu_power A_surfxml_cpu_power; -extern AT_surfxml_process_start_time A_surfxml_process_start_time; -extern AT_surfxml_include_file A_surfxml_include_file; -extern AT_surfxml_process_function A_surfxml_process_function; -extern AT_surfxml_network_link_sharing_policy A_surfxml_network_link_sharing_policy; -extern AT_surfxml_route_dst A_surfxml_route_dst; -extern AT_surfxml_cpu_state A_surfxml_cpu_state; -extern AT_surfxml_network_link_latency A_surfxml_network_link_latency; -extern AT_surfxml_network_link_state_file A_surfxml_network_link_state_file; -extern AT_surfxml_cpu_interference_send A_surfxml_cpu_interference_send; -extern AT_surfxml_cpu_state_file A_surfxml_cpu_state_file; -extern AT_surfxml_network_link_bandwidth_file A_surfxml_network_link_bandwidth_file; +extern int surfxml_pcdata_ix; +extern char *surfxml_bufferstack; +#define surfxml_pcdata (surfxml_bufferstack + surfxml_pcdata_ix) +extern AT_surfxml_network_link_bandwidth AX_surfxml_network_link_bandwidth; +#define A_surfxml_network_link_bandwidth (surfxml_bufferstack + AX_surfxml_network_link_bandwidth) +extern AT_surfxml_router_name AX_surfxml_router_name; +#define A_surfxml_router_name (surfxml_bufferstack + AX_surfxml_router_name) +extern AT_surfxml_process_host AX_surfxml_process_host; +#define A_surfxml_process_host (surfxml_bufferstack + AX_surfxml_process_host) +extern AT_surfxml_network_link_latency_file AX_surfxml_network_link_latency_file; +#define A_surfxml_network_link_latency_file (surfxml_bufferstack + AX_surfxml_network_link_latency_file) +extern AT_surfxml_route_impact_on_dst_with_other_send AX_surfxml_route_impact_on_dst_with_other_send; +#define A_surfxml_route_impact_on_dst_with_other_send (surfxml_bufferstack + AX_surfxml_route_impact_on_dst_with_other_send) +extern AT_surfxml_cpu_interference_send_recv AX_surfxml_cpu_interference_send_recv; +#define A_surfxml_cpu_interference_send_recv (surfxml_bufferstack + AX_surfxml_cpu_interference_send_recv) +extern AT_surfxml_route_impact_on_dst AX_surfxml_route_impact_on_dst; +#define A_surfxml_route_impact_on_dst (surfxml_bufferstack + AX_surfxml_route_impact_on_dst) +extern AT_surfxml_platform_description_version AX_surfxml_platform_description_version; +#define A_surfxml_platform_description_version (surfxml_bufferstack + AX_surfxml_platform_description_version) +extern AT_surfxml_route_impact_on_src_with_other_recv AX_surfxml_route_impact_on_src_with_other_recv; +#define A_surfxml_route_impact_on_src_with_other_recv (surfxml_bufferstack + AX_surfxml_route_impact_on_src_with_other_recv) +extern AT_surfxml_route_element_name AX_surfxml_route_element_name; +#define A_surfxml_route_element_name (surfxml_bufferstack + AX_surfxml_route_element_name) +extern AT_surfxml_process_start_time AX_surfxml_process_start_time; +#define A_surfxml_process_start_time (surfxml_bufferstack + AX_surfxml_process_start_time) +extern AT_surfxml_process_function AX_surfxml_process_function; +#define A_surfxml_process_function (surfxml_bufferstack + AX_surfxml_process_function) +extern AT_surfxml_cpu_state AX_surfxml_cpu_state; +#define A_surfxml_cpu_state AX_surfxml_cpu_state +extern AT_surfxml_cpu_interference_send AX_surfxml_cpu_interference_send; +#define A_surfxml_cpu_interference_send (surfxml_bufferstack + AX_surfxml_cpu_interference_send) +extern AT_surfxml_network_link_bandwidth_file AX_surfxml_network_link_bandwidth_file; +#define A_surfxml_network_link_bandwidth_file (surfxml_bufferstack + AX_surfxml_network_link_bandwidth_file) +extern AT_surfxml_cpu_name AX_surfxml_cpu_name; +#define A_surfxml_cpu_name (surfxml_bufferstack + AX_surfxml_cpu_name) +extern AT_surfxml_process_kill_time AX_surfxml_process_kill_time; +#define A_surfxml_process_kill_time (surfxml_bufferstack + AX_surfxml_process_kill_time) +extern AT_surfxml_network_link_state AX_surfxml_network_link_state; +#define A_surfxml_network_link_state AX_surfxml_network_link_state +extern AT_surfxml_cpu_availability_file AX_surfxml_cpu_availability_file; +#define A_surfxml_cpu_availability_file (surfxml_bufferstack + AX_surfxml_cpu_availability_file) +extern AT_surfxml_argument_value AX_surfxml_argument_value; +#define A_surfxml_argument_value (surfxml_bufferstack + AX_surfxml_argument_value) +extern AT_surfxml_route_src AX_surfxml_route_src; +#define A_surfxml_route_src (surfxml_bufferstack + AX_surfxml_route_src) +extern AT_surfxml_route_impact_on_src AX_surfxml_route_impact_on_src; +#define A_surfxml_route_impact_on_src (surfxml_bufferstack + AX_surfxml_route_impact_on_src) +extern AT_surfxml_cpu_max_outgoing_rate AX_surfxml_cpu_max_outgoing_rate; +#define A_surfxml_cpu_max_outgoing_rate (surfxml_bufferstack + AX_surfxml_cpu_max_outgoing_rate) +extern AT_surfxml_cpu_availability AX_surfxml_cpu_availability; +#define A_surfxml_cpu_availability (surfxml_bufferstack + AX_surfxml_cpu_availability) +extern AT_surfxml_cpu_interference_recv AX_surfxml_cpu_interference_recv; +#define A_surfxml_cpu_interference_recv (surfxml_bufferstack + AX_surfxml_cpu_interference_recv) +extern AT_surfxml_network_link_name AX_surfxml_network_link_name; +#define A_surfxml_network_link_name (surfxml_bufferstack + AX_surfxml_network_link_name) +extern AT_surfxml_cpu_power AX_surfxml_cpu_power; +#define A_surfxml_cpu_power (surfxml_bufferstack + AX_surfxml_cpu_power) +extern AT_surfxml_include_file AX_surfxml_include_file; +#define A_surfxml_include_file (surfxml_bufferstack + AX_surfxml_include_file) +extern AT_surfxml_network_link_sharing_policy AX_surfxml_network_link_sharing_policy; +#define A_surfxml_network_link_sharing_policy AX_surfxml_network_link_sharing_policy +extern AT_surfxml_route_dst AX_surfxml_route_dst; +#define A_surfxml_route_dst (surfxml_bufferstack + AX_surfxml_route_dst) +extern AT_surfxml_network_link_latency AX_surfxml_network_link_latency; +#define A_surfxml_network_link_latency (surfxml_bufferstack + AX_surfxml_network_link_latency) +extern AT_surfxml_cpu_state_file AX_surfxml_cpu_state_file; +#define A_surfxml_cpu_state_file (surfxml_bufferstack + AX_surfxml_cpu_state_file) +extern AT_surfxml_network_link_state_file AX_surfxml_network_link_state_file; +#define A_surfxml_network_link_state_file (surfxml_bufferstack + AX_surfxml_network_link_state_file) /* XML application utilities. */ extern int surfxml_element_context(int);