X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f3b7e5f4b4d7c87ee3e8827313ec966ea8fc8387..f973433226af2e2e3059b62578bb0f3b215380fb:/include/xbt/parse_units.hpp diff --git a/include/xbt/parse_units.hpp b/include/xbt/parse_units.hpp index 7350c241eb..1c8f6e8f85 100644 --- a/include/xbt/parse_units.hpp +++ b/include/xbt/parse_units.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2020. The SimGrid Team. +/* Copyright (c) 2007-2023. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -7,17 +7,20 @@ #ifndef SIMGRID_XBT_PARSE_UNITS_HPP #define SIMGRID_XBT_PARSE_UNITS_HPP -double xbt_parse_get_time(const std::string& filename, int lineno, const char* string, const char* entity_kind, - const std::string& name); -double surf_parse_get_size(const std::string& filename, int lineno, const char* string, const char* entity_kind, - const std::string& name); -double xbt_parse_get_bandwidth(const std::string& filename, int lineno, const char* string, const char* entity_kind, - const std::string& name); -std::vector xbt_parse_get_bandwidths(const std::string& filename, int lineno, const char* string, - const char* entity_kind, const std::string& name); -double xbt_parse_get_speed(const std::string& filename, int lineno, const char* string, const char* entity_kind, - const std::string& name); -std::vector xbt_parse_get_all_speeds(const std::string& filename, int lineno, char* speeds, - const char* entity_kind, const std::string& id); +#include +#include + +double xbt_parse_get_time(const std::string& filename, int lineno, const std::string& string, + const std::string& entity_kind); +double xbt_parse_get_size(const std::string& filename, int lineno, const std::string& string, + const std::string& entity_kind); +double xbt_parse_get_bandwidth(const std::string& filename, int lineno, const std::string& string, + const std::string& entity_kind); +std::vector xbt_parse_get_bandwidths(const std::string& filename, int lineno, const std::string& string, + const std::string& entity_kind); +double xbt_parse_get_speed(const std::string& filename, int lineno, const std::string& string, + const std::string& entity_kind); +std::vector xbt_parse_get_all_speeds(const std::string& filename, int lineno, const std::string& speeds, + const std::string& entity_kind); #endif