1 /* Authors: Arnaud Legrand */
3 /* This program is free software; you can redistribute it and/or modify it
4 under the terms of the license (GNU LGPL) which comes with this package. */
6 #ifndef _SURF_SURF_PARSE_H
7 #define _SURF_SURF_PARSE_H
10 #include "surf/trace_mgr.h"
24 #define MAX_STR_CONST 1024
26 extern char *surf_parse_text;
31 e_surf_token_t surf_parse(void);
32 void find_section(const char* file, const char* section_name);
33 void close_section(const char* section_name);
34 void surf_parse_float(xbt_maxmin_float_t *value);
35 void surf_parse_trace(tmgr_trace_t *trace);
38 /* Should not be called if you use the previous "section" functions */
39 void surf_parse_open(const char *file);
40 void surf_parse_close(void);