author | ali <ali@juiblex.co.uk> |
Wed Jan 25 19:33:43 2012 +0000 (2012-01-25) | |
changeset 2 | cbd63f7ba40f |
child 5 | f600b0d1fc5d |
permissions | -rw-r--r-- |
1 #ifndef TESTCASE_PARSER_H
2 #define TESTCASE_PARSER_H
4 #include <gclib/gclib.h>
6 typedef struct {
7 char *filename;
8 char *contents;
9 String *flag;
10 size_t pos;
11 char *tag;
12 char *tag_text;
13 } TestcaseParser;
15 const char *testcase_parser_get_flag(TestcaseParser *parser);
16 boolean testcase_parser_get_next_tag(TestcaseParser *parser,const char **tag,
17 const char **text);
18 boolean testcase_parser_at_eof(TestcaseParser *parser);
19 TestcaseParser *testcase_parser_new_from_file(const char *filename);
20 void testcase_parser_free(TestcaseParser *parser);
22 #endif /* TESTCASE_PARSER_H */