X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1d558deeec797460abbfa5ed52f1e7ae784dcf7e..8cc10e99f53995bc7486e4467b4e6ad8d7be3460:/src/surf/surfxml_parseplatf.c diff --git a/src/surf/surfxml_parseplatf.c b/src/surf/surfxml_parseplatf.c index 50e6301157..4fa418fcfa 100644 --- a/src/surf/surfxml_parseplatf.c +++ b/src/surf/surfxml_parseplatf.c @@ -156,8 +156,8 @@ static void init_data(void) &parse_Stag_trace_connect); /* we care about the ASes while parsing the platf. Incredible, isnt it? */ - sg_platf_ASclose_add_cb(routing_AS_close); - sg_platf_ASopen_add_cb(routing_AS_open); + sg_platf_AS_end_add_cb(routing_AS_end); + sg_platf_AS_begin_add_cb(routing_AS_begin); } static void free_data(void) @@ -181,7 +181,7 @@ void parse_platform_file(const char *file) /* Register classical callbacks */ surfxml_add_callback(STag_surfxml_prop_cb_list, &parse_properties_XML); - surf_parse_add_callback_config(); + routing_register_callbacks(); surfxml_buffer_stack_stack_ptr = 1; surfxml_buffer_stack_stack[0] = 0; @@ -193,7 +193,5 @@ void parse_platform_file(const char *file) surf_parse_close(); if (parse_status) xbt_die("Parse error in %s", file); - - surf_config_models_create_elms(); }