test/harness/testcaseinput.h
author ali <ali@juiblex.co.uk>
Sat Oct 05 21:37:31 2013 +0100 (2013-10-05)
changeset 99 783eff3047bc
permissions -rw-r--r--
Fix bug #21: False positive: Opening slanted double-quote, followed by single slanted quote, should be accepted by BL
     1 #ifndef TESTCASE_INPUT_H
     2 #define TESTCASE_INPUT_H
     3 
     4 #include <glib.h>
     5 #include "testcase.h"
     6 
     7 typedef struct {
     8     char *name;
     9     char *name_used;
    10     char *contents;
    11 } TestcaseInput;
    12 
    13 gboolean testcase_input_create(Testcase *testcase,TestcaseInput *input,
    14   GError **error);
    15 gboolean testcase_input_remove(Testcase *testcase,TestcaseInput *input,
    16   GError **error);
    17 TestcaseInput *testcase_input_new(const char *name,const char *contents);
    18 void testcase_input_free(TestcaseInput *input);
    19 
    20 #endif	/* TESTCASE_INPUT_H */