From: navarrop Date: Wed, 27 Oct 2010 14:15:04 +0000 (+0000) Subject: Rename some functions X-Git-Tag: v3_5~357 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/39bbf791c23a1c90885b63c704aa37382f06d163?hp=ab190e32c3d3e3e5d6aa108eea42e0a86cec2e50 Rename some functions git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8468 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/surf/surf_routing.c b/src/surf/surf_routing.c index 2b70e56d64..942abe88be 100644 --- a/src/surf/surf_routing.c +++ b/src/surf/surf_routing.c @@ -54,10 +54,10 @@ static void model_none_load(void); /* none routing model */ static void model_none_unload(void); /* none routing model */ static void model_none_end(void); /* none routing model */ -static void routing_full_parse_Scluster(void); /*cluster bypass */ +static void routing_parse_Scluster(void); /*cluster bypass */ -static void parse_Sconfig(void); /*config Tag */ -static void parse_Econfig(void); /*config Tag */ +static void routing_parse_Sconfig(void); /*config Tag */ +static void routing_parse_Econfig(void); /*config Tag */ /* this lines are only for replace use like index in the model table */ typedef enum { @@ -896,10 +896,12 @@ void routing_model_create(size_t size_of_links, void *loopback) surfxml_add_callback(ETag_surfxml_AS_cb_list, &parse_E_AS_XML); surfxml_add_callback(STag_surfxml_cluster_cb_list, - &routing_full_parse_Scluster); + &routing_parse_Scluster); - surfxml_add_callback(STag_surfxml_config_cb_list, &parse_Sconfig); - surfxml_add_callback(ETag_surfxml_config_cb_list, &parse_Econfig); + surfxml_add_callback(STag_surfxml_config_cb_list, + &routing_parse_Sconfig); + surfxml_add_callback(ETag_surfxml_config_cb_list, + &routing_parse_Econfig); } /* ************************************************************************** */ @@ -2908,14 +2910,14 @@ static void generic_src_dst_check(routing_component_t rc, const char *src, rc->name, dst_as->name); } -static void parse_Sconfig(void) +static void routing_parse_Sconfig(void) { //TODO DEBUG0("WARNING tag config not yet implemented."); DEBUG1("Configuration name = %s",A_surfxml_config_id); } -static void parse_Econfig(void) +static void routing_parse_Econfig(void) { //TODO xbt_dict_cursor_t cursor = NULL; @@ -2926,7 +2928,7 @@ static void parse_Econfig(void) } } -static void routing_full_parse_Scluster(void) +static void routing_parse_Scluster(void) { static int AX_ptr = 0;