X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5c9da7af52ab2646fc16faa39ca7c10a33020a54..bd2cf2d478d8e130e47a9b2943af0269b8da910a:/src/surf/surfxml_parseplatf.c diff --git a/src/surf/surfxml_parseplatf.c b/src/surf/surfxml_parseplatf.c index 312d1001d1..4445475156 100644 --- a/src/surf/surfxml_parseplatf.c +++ b/src/surf/surfxml_parseplatf.c @@ -53,11 +53,8 @@ void surfxml_bufferstack_pop(int new) * Pass arguments to parsing callback as structures to save some time (and allow callbacks to ignore some) */ -surf_parsing_router_arg_t struct_router = NULL; surf_parsing_cluster_arg_t struct_cluster = NULL; surf_parsing_peer_arg_t struct_peer = NULL; -surf_parsing_link_arg_t struct_lnk = NULL; - /* * Trace related stuff @@ -148,7 +145,6 @@ static void parse_E_AS(void) { sg_platf_new_AS_close(); } - /* Init and free parse data */ static void init_data(void) @@ -191,6 +187,9 @@ void parse_platform_file(const char *file) int parse_status; surf_parse_reset_callbacks(); + + /* Register classical callbacks */ + surfxml_add_callback(STag_surfxml_prop_cb_list, &parse_properties_XML); surf_parse_add_callback_config(); surfxml_buffer_stack_stack_ptr = 1;