#include "simgrid/kernel/routing/NetPoint.hpp"
#include "simgrid/s4u/Engine.hpp"
-#include "simgrid/sg_config.h"
+#include "simgrid/sg_config.hpp"
#include "src/surf/network_interface.hpp"
#include "xbt/file.hpp"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_parse, surf, "Logging specific to the SURF parsing module");
-extern "C" {
-
#include "simgrid_dtd.c"
static const char* surf_parsed_filename; // Currently parsed file (for the error messages)
return -1;
}
}
-}
namespace {
}
}
-extern "C" {
-
double surf_parse_get_time(const char* string, const char* entity_kind, std::string name)
{
static const unit_scale units{std::make_pair("w", 7 * 24 * 60 * 60),
{
return surf_parse_lex();
}
-}