charset/tests: Add prototypes for test functions.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 6 Feb 2012 11:20:54 +0000 (12:20 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 7 Feb 2012 00:11:07 +0000 (01:11 +0100)
lib/util/charset/tests/charset.c
lib/util/charset/tests/convert_string.c

index 351b91c7b7970a0ad1ec4122a28b61c0f494ace2..70b674187631abc750fd11a9d7117ce93d25b7fe 100644 (file)
@@ -21,6 +21,8 @@
 #include "includes.h"
 #include "torture/torture.h"
 
+struct torture_suite *torture_local_charset(TALLOC_CTX *mem_ctx);
+
 static bool test_toupper_m(struct torture_context *tctx)
 {
        torture_assert_int_equal(tctx, toupper_m('c'), 'C', "c");
index 918be496b6e78cc1b974dd67d960199147c6cbc0..92de70295f800da35d694782c8792c88606afe38 100644 (file)
 #include "lib/util/charset/charset.h"
 #include "param/param.h"
 
+struct torture_suite *torture_local_convert_string_handle(TALLOC_CTX *mem_ctx);
+struct torture_suite *torture_local_string_case_handle(TALLOC_CTX *mem_ctx);
+struct torture_suite *torture_local_convert_string(TALLOC_CTX *mem_ctx);
+struct torture_suite *torture_local_string_case(TALLOC_CTX *mem_ctx);
+
 /* The text below is in ancient and a latin charset transliteration of
  * greek, and an english translation.  It from Apology by Plato and sourced from
  * http://en.wikipedia.org/w/index.php?title=Ancient_Greek&oldid=421361065#Example_text