Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
export some variables
authorcherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 11 Apr 2007 18:57:22 +0000 (18:57 +0000)
committercherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 11 Apr 2007 18:57:22 +0000 (18:57 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3393 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/surf/surfxml.h
include/surf/surfxml_parse.h

index e5916cb..0d0cb45 100644 (file)
@@ -134,7 +134,7 @@ typedef const char* AT_surfxml_network_link_state_file;
 /* FleXML-provided data. */
 extern const char* surfxml_pcdata;
 extern AT_surfxml_network_link_bandwidth A_surfxml_network_link_bandwidth;
 /* FleXML-provided data. */
 extern const char* surfxml_pcdata;
 extern AT_surfxml_network_link_bandwidth A_surfxml_network_link_bandwidth;
-extern AT_surfxml_process_host A_surfxml_process_host;
+extern AT_surfxml_process_host XBT_PUBLIC_DATA A_surfxml_process_host;
 extern AT_surfxml_network_link_latency_file A_surfxml_network_link_latency_file;
 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_network_link_latency_file A_surfxml_network_link_latency_file;
 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;
@@ -143,7 +143,7 @@ extern AT_surfxml_platform_description_version A_surfxml_platform_description_ve
 extern AT_surfxml_route_impact_on_src_with_other_recv A_surfxml_route_impact_on_src_with_other_recv;
 extern AT_surfxml_route_element_name A_surfxml_route_element_name;
 extern AT_surfxml_process_start_time A_surfxml_process_start_time;
 extern AT_surfxml_route_impact_on_src_with_other_recv A_surfxml_route_impact_on_src_with_other_recv;
 extern AT_surfxml_route_element_name A_surfxml_route_element_name;
 extern AT_surfxml_process_start_time A_surfxml_process_start_time;
-extern AT_surfxml_process_function A_surfxml_process_function;
+extern AT_surfxml_process_function XBT_PUBLIC_DATA A_surfxml_process_function;
 extern AT_surfxml_cpu_state A_surfxml_cpu_state;
 extern AT_surfxml_cpu_interference_send A_surfxml_cpu_interference_send;
 extern AT_surfxml_network_link_bandwidth_file A_surfxml_network_link_bandwidth_file;
 extern AT_surfxml_cpu_state A_surfxml_cpu_state;
 extern AT_surfxml_cpu_interference_send A_surfxml_cpu_interference_send;
 extern AT_surfxml_network_link_bandwidth_file A_surfxml_network_link_bandwidth_file;
@@ -151,7 +151,7 @@ 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_cpu_availability_file A_surfxml_cpu_availability_file;
 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_cpu_availability_file A_surfxml_cpu_availability_file;
-extern AT_surfxml_argument_value A_surfxml_argument_value;
+extern AT_surfxml_argument_value XBT_PUBLIC_DATA A_surfxml_argument_value;
 extern AT_surfxml_route_src A_surfxml_route_src;
 extern AT_surfxml_route_impact_on_src A_surfxml_route_impact_on_src;
 extern AT_surfxml_cpu_max_outgoing_rate A_surfxml_cpu_max_outgoing_rate;
 extern AT_surfxml_route_src A_surfxml_route_src;
 extern AT_surfxml_route_impact_on_src A_surfxml_route_impact_on_src;
 extern AT_surfxml_cpu_max_outgoing_rate A_surfxml_cpu_max_outgoing_rate;
index 854edae..830b14c 100644 (file)
@@ -12,7 +12,7 @@
 #include "surf/surfxml.h"
 #include "xbt/function_types.h"
 /* Entry-point of the surfxml parser. */
 #include "surf/surfxml.h"
 #include "xbt/function_types.h"
 /* Entry-point of the surfxml parser. */
-extern int_f_void_t *surf_parse;
+extern int_f_void_t * XBT_PUBLIC_DATA surf_parse;
 
 /* Hook for the different tags. They can be redefined at will whereas
    the versions without the _fun can't. */
 
 /* Hook for the different tags. They can be redefined at will whereas
    the versions without the _fun can't. */
@@ -27,10 +27,10 @@ extern void_f_void_t *STag_surfxml_route_fun;
 extern void_f_void_t *ETag_surfxml_route_fun;
 extern void_f_void_t *STag_surfxml_route_element_fun;
 extern void_f_void_t *ETag_surfxml_route_element_fun;
 extern void_f_void_t *ETag_surfxml_route_fun;
 extern void_f_void_t *STag_surfxml_route_element_fun;
 extern void_f_void_t *ETag_surfxml_route_element_fun;
-extern void_f_void_t *STag_surfxml_process_fun;
-extern void_f_void_t *ETag_surfxml_process_fun;
+extern void_f_void_t * XBT_PUBLIC_DATA STag_surfxml_process_fun;
+extern void_f_void_t * XBT_PUBLIC_DATA ETag_surfxml_process_fun;
 extern void_f_void_t *STag_surfxml_argument_fun;
 extern void_f_void_t *STag_surfxml_argument_fun;
-extern void_f_void_t *ETag_surfxml_argument_fun;
+extern void_f_void_t * XBT_PUBLIC_DATA ETag_surfxml_argument_fun;
 
 XBT_PUBLIC(void) surf_parse_open(const char *file);
 XBT_PUBLIC(void) surf_parse_close(void);
 
 XBT_PUBLIC(void) surf_parse_open(const char *file);
 XBT_PUBLIC(void) surf_parse_close(void);