1.1 --- a/test/harness/testcaseparser.h Fri Jan 27 10:30:16 2012 +0000
1.2 +++ b/test/harness/testcaseparser.h Thu Sep 05 22:34:27 2013 +0100
1.3 @@ -1,21 +1,22 @@
1.4 #ifndef TESTCASE_PARSER_H
1.5 #define TESTCASE_PARSER_H
1.6
1.7 +#include <glib.h>
1.8 #include <bl/bl.h>
1.9
1.10 typedef struct {
1.11 char *filename;
1.12 char *contents;
1.13 - String *flag;
1.14 + GString *flag;
1.15 size_t pos;
1.16 char *tag;
1.17 char *tag_text;
1.18 } TestcaseParser;
1.19
1.20 const char *testcase_parser_get_flag(TestcaseParser *parser);
1.21 -boolean testcase_parser_get_next_tag(TestcaseParser *parser,const char **tag,
1.22 +gboolean testcase_parser_get_next_tag(TestcaseParser *parser,const char **tag,
1.23 const char **text);
1.24 -boolean testcase_parser_at_eof(TestcaseParser *parser);
1.25 +gboolean testcase_parser_at_eof(TestcaseParser *parser);
1.26 TestcaseParser *testcase_parser_new_from_file(const char *filename);
1.27 void testcase_parser_free(TestcaseParser *parser);
1.28