From c033647eff7c22df2f0b9fc18e8ef917a7def4ed Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Sun, 5 Jan 2003 04:16:29 +0000 Subject: [PATCH] Add. --- Makefile.am | 2 +- idna.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 77acb75..c05e554 100644 --- a/Makefile.am +++ b/Makefile.am @@ -47,7 +47,7 @@ gunicomp.h gunidecomp.h: gen-unicode-tables.pl UnicodeData-3.2.0.txt LineBreak-3 stringprep_generic.c: rfc3454.txt gen-stringprep-tables.pl $(PERL) $(srcdir)/gen-stringprep-tables.pl rfc3454.txt -tests = tst_stringprep tst_nfkc tst_punycode +tests = tst_stringprep tst_nfkc tst_punycode tst_idna check_PROGRAMS = $(tests) diff --git a/idna.h b/idna.h index 0e4d60c..026e1d6 100644 --- a/idna.h +++ b/idna.h @@ -37,6 +37,7 @@ extern "C" IDNA_CONTAINS_MINUS = 4, IDNA_INVALID_LENGTH = 5, IDNA_NO_ACE_PREFIX = 6, + IDNA_ROUNDTRIP_VERIFY_ERROR = 7, /* Internal errors. */ IDNA_MALLOC_ERROR = 201 }; @@ -49,7 +50,7 @@ extern "C" char *out, int allowunassigned, int usestd3asciirules); int idna_to_unicode (const unsigned long *in, size_t inlen, - unsigned long *out, size_t *outlen, + unsigned long *out, size_t * outlen, int allowunassigned, int usestd3asciirules); #ifdef __cplusplus -- 2.11.4.GIT