Added SILC Thread Queue API
[silc.git] / lib / silcutil / tests / test_silcstringprep.c
index 26ff2aaf9f5f9d6b5cec87d2b6c9b8c90808f743..82fc8ca2cf8bee216c6926c69ca93c170e50ce3a 100644 (file)
@@ -1,6 +1,6 @@
 /* Stringprep tests */
 
-#include "silcincludes.h"
+#include "silc.h"
 
 typedef struct {
   const char *comment;
@@ -70,16 +70,17 @@ const test_st tests_norm[] = {
 
 int main(int argc, char **argv)
 {
-  bool success = FALSE;
+  SilcBool success = FALSE;
   int i, enc;
   unsigned char *out = NULL;
   SilcUInt32 out_len;
   SilcStringprepStatus ret;
 
   if (argc > 1 && !strcmp(argv[1], "-d")) {
-    silc_debug = 1;
-    silc_debug_hexdump = 1;
-    silc_log_set_debug_string("*stringprep*,*utf8*");
+    silc_log_debug(TRUE);
+    silc_log_debug_hexdump(TRUE);
+    silc_log_quick(TRUE);
+    silc_log_set_debug_string("*stringprep*,*utf8*,*errno*");
   }
 
   SILC_LOG_DEBUG(("--- Identifier string tests"));