X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c79ebbf1e5c64786d3c5e8456c2658afb1d09738..ea74f5d95928a521a588737e81f1de94eef25d19:/src/surf/xml/platf.hpp?ds=sidebyside diff --git a/src/surf/xml/platf.hpp b/src/surf/xml/platf.hpp index 6c8b9d0c6f..e87645bcbc 100644 --- a/src/surf/xml/platf.hpp +++ b/src/surf/xml/platf.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2006-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2006-2022. 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. */ @@ -23,13 +23,8 @@ XBT_PUBLIC void surf_parse_assert_netpoint(const std::string& hostname, const st XBT_PUBLIC double surf_parse_get_double(const std::string& s); XBT_PUBLIC int surf_parse_get_int(const std::string& s); -XBT_PUBLIC double surf_parse_get_time(const char* string, const char* entity_kind, const std::string& name); -XBT_PUBLIC double surf_parse_get_size(const char* string, const char* entity_kind, const std::string& name); -XBT_PUBLIC double surf_parse_get_bandwidth(const char* string, const char* entity_kind, const std::string& name); -XBT_PUBLIC std::vector surf_parse_get_bandwidths(const char* string, const char* entity_kind, - const std::string& name); -XBT_PUBLIC double surf_parse_get_speed(const char* string, const char* entity_kind, const std::string& name); XBT_PUBLIC void surf_parse(); /* Entry-point to the parser */ +XBT_PUBLIC void parse_platform_file(const std::string& file); #endif