From f1f80696ebe87520de0c857371e0ca109fce68cb Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 22 Sep 2007 13:32:42 +0000 Subject: Create a library of utility functions for the testsuite to use Make test/binding.c include stdio.h itself rather than relying on other things to include it. svn path=/trunk/dom/; revision=3568 --- test/lib/testobject.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 test/lib/testobject.h (limited to 'test/lib/testobject.h') diff --git a/test/lib/testobject.h b/test/lib/testobject.h new file mode 100644 index 0000000..c72b39f --- /dev/null +++ b/test/lib/testobject.h @@ -0,0 +1,22 @@ +/* + * This file is part of libdom test suite. + * Licensed under the MIT License, + * http://www.opensource.org/licenses/mit-license.php + * Copyright 2007 John-Mark Bell + */ + +#ifndef testobject_h_ +#define testobject_h_ + +#include + +struct TestObject; +typedef struct TestObject TestObject; + +TestObject *test_object_create(int argc, char **argv, + const char *uri, bool will_be_modified); +struct dom_document *test_object_get_doc(TestObject *obj); +const char *test_object_get_mimetype(TestObject *obj); + +#endif + -- cgit v1.2.3