X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/93c8beeb914dc3624c3818b21f17567345b4d36c..a34d8237b8267686bbd259670f27da273ff5236e:/src/surf/surf_routing_none.cpp diff --git a/src/surf/surf_routing_none.cpp b/src/surf/surf_routing_none.cpp index c17e02d854..4652b56490 100644 --- a/src/surf/surf_routing_none.cpp +++ b/src/surf/surf_routing_none.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2009, 2010, 2011, 2013. The SimGrid Team. +/* Copyright (c) 2009-2011, 2013-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -17,7 +17,7 @@ xbt_dynar_t AsNone::getOneLinkRoutes() { return NULL; } -void AsNone::getRouteAndLatency(RoutingEdgePtr /*src*/, RoutingEdgePtr /*dst*/, +void AsNone::getRouteAndLatency(RoutingEdge * /*src*/, RoutingEdge * /*dst*/, sg_platf_route_cbarg_t /*res*/, double *lat) { *lat = 0.0; @@ -28,20 +28,20 @@ void AsNone::getGraph(xbt_graph_t /*graph*/, xbt_dict_t /*nodes*/, xbt_dict_t /* XBT_INFO("No routing no graph"); } -sg_platf_route_cbarg_t AsNone::getBypassRoute(RoutingEdgePtr /*src*/, RoutingEdgePtr /*dst*/, double */*lat*/) { +sg_platf_route_cbarg_t AsNone::getBypassRoute(RoutingEdge * /*src*/, RoutingEdge * /*dst*/, double * /*lat*/) { return NULL; } -int AsNone::parsePU(RoutingEdgePtr elm) { - XBT_DEBUG("Load process unit \"%s\"", elm->p_name); - xbt_dynar_push_as(p_indexNetworkElm, RoutingEdgePtr, elm); +int AsNone::parsePU(RoutingEdge *elm) { + XBT_DEBUG("Load process unit \"%s\"", elm->getName()); + xbt_dynar_push_as(p_indexNetworkElm, RoutingEdge*, elm); /* don't care about PUs */ return -1; } -int AsNone::parseAS(RoutingEdgePtr elm) { - XBT_DEBUG("Load Autonomous system \"%s\"", elm->p_name); - xbt_dynar_push_as(p_indexNetworkElm, RoutingEdgePtr, elm); +int AsNone::parseAS(RoutingEdge *elm) { + XBT_DEBUG("Load Autonomous system \"%s\"", elm->getName()); + xbt_dynar_push_as(p_indexNetworkElm, RoutingEdge*, elm); /* even don't care about sub-ASes -- I'm as nihilist as an old punk*/ return -1; }