test/harness/testcaseoutput.h
author ali <ali@juiblex.co.uk>
Sun Oct 27 17:01:47 2013 +0000 (2013-10-27)
changeset 103 d22d8cd4f628
permissions -rw-r--r--
Fix bug #13: Character sets
     1 #ifndef TESTCASE_OUTPUT_H
     2 #define TESTCASE_OUTPUT_H
     3 
     4 #include <glib.h>
     5 #include "testcase.h"
     6 
     7 typedef struct {
     8     char *name;
     9     char *contents;
    10 } TestcaseOutput;
    11 
    12 gboolean testcase_output_read(Testcase *testcase,TestcaseOutput *output,
    13   gchar **contents,gsize *length,GError **error);
    14 gboolean testcase_output_remove(Testcase *testcase,TestcaseOutput *output,
    15   GError **error);
    16 TestcaseOutput *testcase_output_new(const char *name,const char *contents);
    17 void testcase_output_free(TestcaseOutput *output);
    18 
    19 #endif	/* TESTCASE_OUTPUT_H */