From 2d6173e9a879e66d8467d65ec80887cf2e5c4e5f Mon Sep 17 00:00:00 2001 From: mehdi Date: Fri, 8 Apr 2011 14:58:40 +0200 Subject: [PATCH] callback to parse_properties_XML when parsing prop tag in XML --- src/include/surf/surf.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/include/surf/surf.h b/src/include/surf/surf.h index cef3ab7efd..5672742cb9 100644 --- a/src/include/surf/surf.h +++ b/src/include/surf/surf.h @@ -696,7 +696,9 @@ XBT_PUBLIC(void) surf_exit(void); /* Prototypes of the functions that handle the properties */ XBT_PUBLIC_DATA(xbt_dict_t) current_property_set; /* the prop set for the currently parsed element (also used in SIMIX) */ -XBT_PUBLIC_DATA(void) parse_properties(void); +XBT_PUBLIC_DATA(void) parse_properties(const char* prop_id, const char* prop_value); +XBT_PUBLIC_DATA(void) parse_properties_XML(void); +XBT_PUBLIC_DATA(void) parse_properties_lua(const char* prop_id, const char* prop_value); /* surf parse file related (public because called from a test suite) */ XBT_PUBLIC(void) parse_platform_file(const char *file); -- 2.20.1