X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/82de4ad22adaa434ff76600a99106bbfc040a9ce..3f584ad9bef1ffdb69f38f7537a4524b8a590604:/src/surf/xml/platf.hpp diff --git a/src/surf/xml/platf.hpp b/src/surf/xml/platf.hpp index 6c8b9d0c6f..203ca09b1e 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-2023. 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. */ @@ -11,8 +11,7 @@ #include /* Module management functions */ -XBT_PUBLIC void sg_platf_init(); -XBT_PUBLIC void sg_platf_exit(); +XBT_PUBLIC void sg_platf_parser_finalize(); XBT_PUBLIC void surf_parse_open(const std::string& file); XBT_PUBLIC void surf_parse_close(); @@ -23,13 +22,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