X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/283236f8e2414d7c30d46e6d1aea0e8882699dd1..5b51bc30c95a522360d981bf0625c37292517f4a:/src/surf/surf_routing_generic.hpp diff --git a/src/surf/surf_routing_generic.hpp b/src/surf/surf_routing_generic.hpp index 756460b6fc..53928b152b 100644 --- a/src/surf/surf_routing_generic.hpp +++ b/src/surf/surf_routing_generic.hpp @@ -1,3 +1,9 @@ +/* Copyright (c) 2013-2014. The SimGrid Team. + * All rights reserved. */ + +/* This program is free software; you can redistribute it and/or modify it + * under the terms of the license (GNU LGPL) which comes with this package. */ + #include "surf_routing_none.hpp" #ifndef SURF_ROUTING_GENERIC_HPP_ @@ -6,11 +12,12 @@ class AsGeneric; typedef AsGeneric *AsGenericPtr; +void generic_free_route(sg_platf_route_cbarg_t route); + class AsGeneric : public AsNone { public: AsGeneric(); ~AsGeneric(); - int test(){return 2;}; virtual void getRouteAndLatency(RoutingEdgePtr src, RoutingEdgePtr dst, sg_platf_route_cbarg_t into, double *latency); virtual xbt_dynar_t getOneLinkRoutes();