#include "xbt/str.h"
#include "xbt/dict.h"
#include "simgrid/platf.h"
-#include "surf/surfxml_parse_private.h"
+#include "surf/surfxml_parse.h"
#include "surf/surf_private.h"
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(surf_parse);
tmgr_trace_t trace;
if (!trace_file || strcmp(trace_file, "") != 0) {
trace = tmgr_trace_new(trace_file);
- } else {
- if (strcmp(surfxml_pcdata, "") == 0)
+ } else if (strcmp(surfxml_pcdata, "") == 0) {
trace = NULL;
- else
+ } else {
trace =
tmgr_trace_new_from_string(trace_id, surfxml_pcdata,
trace_periodicity);
surf_parse_reset_callbacks();
/* Register classical callbacks */
- surfxml_add_callback(STag_surfxml_prop_cb_list, &parse_properties_XML);
+ surfxml_add_callback(STag_surfxml_prop_cb_list, &parse_properties);
routing_register_callbacks();
/* init the flex parser */