#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 extern void STag_graphxml_graph(void);
+XBT_PUBLIC extern void ETag_graphxml_graph(void);
+XBT_PUBLIC extern void STag_graphxml_node(void);
+XBT_PUBLIC extern void ETag_graphxml_node(void);
+XBT_PUBLIC extern void STag_graphxml_edge(void);
+XBT_PUBLIC extern void ETag_graphxml_edge(void);
/* XML application data. */
typedef const char* AT_graphxml_node_name;
extern AT_graphxml_edge_name A_graphxml_edge_name;
/* XML application utilities. */
-extern int graphxml_element_context(int);
+XBT_PUBLIC extern int graphxml_element_context(int);
/* XML processor entry point. */
-extern int yylex(void);
+XBT_PUBLIC extern int yylex(void);
/* Flexml error handling function (useful only when -q flag passed to flexml) */
-const char * graphxml_parse_err_msg(void);
+XBT_PUBLIC const char * graphxml_parse_err_msg(void);
#endif
extern void_f_void_t *STag_graphxml_edge_fun;
extern void_f_void_t *ETag_graphxml_edge_fun;
-void xbt_graph_parse_open(const char *file);
-void xbt_graph_parse_close(void);
-void xbt_graph_parse_reset_parser(void);
-void xbt_graph_parse_get_double(double *value,const char *string);
+XBT_PUBLIC void xbt_graph_parse_open(const char *file);
+XBT_PUBLIC void xbt_graph_parse_close(void);
+XBT_PUBLIC void xbt_graph_parse_reset_parser(void);
+XBT_PUBLIC void xbt_graph_parse_get_double(double *value,const char *string);
/* Prototypes of the functions offered by flex */
-int xbt_graph_parse_lex(void);
-int xbt_graph_parse_get_lineno(void);
-FILE *xbt_graph_parse_get_in(void);
-FILE *xbt_graph_parse_get_out(void);
-int xbt_graph_parse_get_leng(void);
-char *xbt_graph_parse_get_text(void);
-void xbt_graph_parse_set_lineno(int line_number);
-void xbt_graph_parse_set_in(FILE * in_str);
-void xbt_graph_parse_set_out(FILE * out_str);
-int xbt_graph_parse_get_debug(void);
-void xbt_graph_parse_set_debug(int bdebug);
-int xbt_graph_parse_lex_destroy(void);
+XBT_PUBLIC int xbt_graph_parse_lex(void);
+XBT_PUBLIC int xbt_graph_parse_get_lineno(void);
+XBT_PUBLIC FILE *xbt_graph_parse_get_in(void);
+XBT_PUBLIC FILE *xbt_graph_parse_get_out(void);
+XBT_PUBLIC int xbt_graph_parse_get_leng(void);
+XBT_PUBLIC char *xbt_graph_parse_get_text(void);
+XBT_PUBLIC void xbt_graph_parse_set_lineno(int line_number);
+XBT_PUBLIC void xbt_graph_parse_set_in(FILE * in_str);
+XBT_PUBLIC void xbt_graph_parse_set_out(FILE * out_str);
+XBT_PUBLIC int xbt_graph_parse_get_debug(void);
+XBT_PUBLIC void xbt_graph_parse_set_debug(int bdebug);
+XBT_PUBLIC int xbt_graph_parse_lex_destroy(void);
#endif
/* @brief heap datatype */
typedef struct xbt_heap *xbt_heap_t;
-xbt_heap_t xbt_heap_new(int num, void_f_pvoid_t free_func);
-void xbt_heap_free(xbt_heap_t H);
-int xbt_heap_size(xbt_heap_t H);
+XBT_PUBLIC xbt_heap_t xbt_heap_new(int num, void_f_pvoid_t free_func);
+XBT_PUBLIC void xbt_heap_free(xbt_heap_t H);
+XBT_PUBLIC int xbt_heap_size(xbt_heap_t H);
-void xbt_heap_push(xbt_heap_t H, void *content, double key);
-void *xbt_heap_pop(xbt_heap_t H);
+XBT_PUBLIC void xbt_heap_push(xbt_heap_t H, void *content, double key);
+XBT_PUBLIC void *xbt_heap_pop(xbt_heap_t H);
-double xbt_heap_maxkey(xbt_heap_t H);
-void *xbt_heap_maxcontent(xbt_heap_t H);
+XBT_PUBLIC double xbt_heap_maxkey(xbt_heap_t H);
+XBT_PUBLIC void *xbt_heap_maxcontent(xbt_heap_t H);
/* @} */
#endif /* _XBT_HEAP_H */