X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bf16ac57d609fe787f319d0b98710bc5f4696a18..0bfb3cdebf6d1a0105a7a738a602015ed583a39e:/include/xbt/graphxml.h diff --git a/include/xbt/graphxml.h b/include/xbt/graphxml.h index 3cf3b9d12e..a7c77d2dc5 100644 --- a/include/xbt/graphxml.h +++ b/include/xbt/graphxml.h @@ -1,9 +1,10 @@ -/* XML processor/application API for ../../src/xbt/graphxml.dtd. - * Generated 2006/03/21 11:12:32. +/* XML processor/application API for xbt/graphxml.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.46 2006/03/21 08:24:12 legranda 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. * @@ -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: @@ -48,44 +49,59 @@ #define _FLEXML_graphxml_H /* XML application entry points. */ -extern void STag_graphxml_graph(void); -extern void ETag_graphxml_graph(void); -extern void STag_graphxml_node(void); -extern void ETag_graphxml_node(void); -extern void STag_graphxml_edge(void); -extern void ETag_graphxml_edge(void); +XBT_PUBLIC(void) STag_graphxml_graph(void); +XBT_PUBLIC(void) ETag_graphxml_graph(void); +XBT_PUBLIC(void) STag_graphxml_node(void); +XBT_PUBLIC(void) ETag_graphxml_node(void); +XBT_PUBLIC(void) STag_graphxml_edge(void); +XBT_PUBLIC(void) ETag_graphxml_edge(void); /* XML application data. */ -typedef const char* AT_graphxml_edge_target; -#define AU_graphxml_edge_target NULL typedef const char* AT_graphxml_node_name; #define AU_graphxml_node_name NULL +typedef const char* AT_graphxml_edge_source; +#define AU_graphxml_edge_source NULL +typedef const char* AT_graphxml_node_position_y; +#define AU_graphxml_node_position_y NULL +typedef const char* AT_graphxml_node_position_x; +#define AU_graphxml_node_position_x NULL +typedef const char* AT_graphxml_edge_data; +#define AU_graphxml_edge_data NULL +typedef const char* AT_graphxml_edge_target; +#define AU_graphxml_edge_target NULL +typedef enum { AU_graphxml_graph_isDirected, A_graphxml_graph_isDirected_true,A_graphxml_graph_isDirected_false } AT_graphxml_graph_isDirected; typedef const char* AT_graphxml_node_label; #define AU_graphxml_node_label NULL +typedef const char* AT_graphxml_node_data; +#define AU_graphxml_node_data NULL typedef const char* AT_graphxml_edge_label; #define AU_graphxml_edge_label NULL -typedef const char* AT_graphxml_edge_source; -#define AU_graphxml_edge_source NULL -typedef enum { AU_graphxml_edge_isDirected, A_graphxml_edge_isDirected_true,A_graphxml_edge_isDirected_false } AT_graphxml_edge_isDirected; +typedef const char* AT_graphxml_edge_length; +#define AU_graphxml_edge_length NULL typedef const char* AT_graphxml_edge_name; #define AU_graphxml_edge_name NULL /* FleXML-provided data. */ -extern const char* pcdata; -extern AT_graphxml_edge_target A_graphxml_edge_target; +extern const char* graphxml_pcdata; extern AT_graphxml_node_name A_graphxml_node_name; +extern AT_graphxml_edge_source A_graphxml_edge_source; +extern AT_graphxml_node_position_y A_graphxml_node_position_y; +extern AT_graphxml_node_position_x A_graphxml_node_position_x; +extern AT_graphxml_edge_data A_graphxml_edge_data; +extern AT_graphxml_edge_target A_graphxml_edge_target; +extern AT_graphxml_graph_isDirected A_graphxml_graph_isDirected; extern AT_graphxml_node_label A_graphxml_node_label; +extern AT_graphxml_node_data A_graphxml_node_data; extern AT_graphxml_edge_label A_graphxml_edge_label; -extern AT_graphxml_edge_source A_graphxml_edge_source; -extern AT_graphxml_edge_isDirected A_graphxml_edge_isDirected; +extern AT_graphxml_edge_length A_graphxml_edge_length; extern AT_graphxml_edge_name A_graphxml_edge_name; /* XML application utilities. */ -extern int graphxml_element_context(int); +XBT_PUBLIC(int) graphxml_element_context(int); /* XML processor entry point. */ -extern int yylex(void); +XBT_PUBLIC(int) yylex(void); /* Flexml error handling function (useful only when -q flag passed to flexml) */ -const char * graphxml_parse_err_msg(void); +const char *graphxml_parse_err_msg(void); #endif