Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[surf] Add routingEdgeCreatedCallbacks for RoutingEdge
[simgrid.git] / src / surf / surf_routing.hpp
index fbe19f2..b698f4c 100644 (file)
@@ -157,4 +157,10 @@ public:
   void getRouteAndLatency(RoutingEdge *src, RoutingEdge *dst, xbt_dynar_t * links, double *latency);
 };
 
+/*************
+ * Callbacks *
+ *************/
+
+XBT_PUBLIC_DATA(surf_callback(void, RoutingEdge*)) routingEdgeCreatedCallbacks;
+
 #endif /* NETWORK_ROUTING_HPP_ */