3 /* Copyright (c) 2004 Arnaud Legrand. All rights reserved. */
5 /* This program is free software; you can redistribute it and/or modify it
6 * under the terms of the license (GNU LGPL) which comes with this package. */
8 #ifndef _SURF_SURF_PARSE_H
9 #define _SURF_SURF_PARSE_H
12 #include "surf/trace_mgr.h"
26 #define MAX_STR_CONST 1024
28 extern char *surf_parse_text;
33 e_surf_token_t surf_parse(void);
34 void find_section(const char* file, const char* section_name);
35 void close_section(const char* section_name);
36 void surf_parse_float(xbt_maxmin_float_t *value);
37 void surf_parse_trace(tmgr_trace_t *trace);
40 /* Should not be called if you use the previous "section" functions */
41 void surf_parse_open(const char *file);
42 void surf_parse_close(void);