Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
We may want to use this function in examples.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 14 Mar 2011 13:54:25 +0000 (13:54 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 14 Mar 2011 13:54:25 +0000 (13:54 +0000)
after xbt_dict_foreach(global_routing->where_network_elements ...

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9785 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/surf/surf_private.h
src/surf/surf_routing.c

index 026ab2f..e1e11d2 100644 (file)
@@ -200,6 +200,9 @@ struct s_routing_global {
   xbt_dynar_t last_route;
 };
 
+XBT_PUBLIC(e_surf_network_element_type_t) get_network_element_type(const char
+                                                              *name);
+
 XBT_PUBLIC(void) routing_model_create(size_t size_of_link, void *loopback, double_f_cpvoid_t get_link_latency_fun);
 
 /**
index f13e80a..526fdfd 100644 (file)
@@ -1069,7 +1069,7 @@ static xbt_dynar_t get_onelink_routes(void)
   return recursive_get_onelink_routes(global_routing->root);
 }
 
-static e_surf_network_element_type_t get_network_element_type(const char
+e_surf_network_element_type_t get_network_element_type(const char
                                                               *name)
 {
   network_element_info_t rc = NULL;