uidna.h

Go to the documentation of this file.
00001 /* 00002 ******************************************************************************* 00003 * 00004 * Copyright (C) 2003-2004, International Business Machines 00005 * Corporation and others. All Rights Reserved. 00006 * 00007 ******************************************************************************* 00008 * file name: uidna.h 00009 * encoding: US-ASCII 00010 * tab size: 8 (not used) 00011 * indentation:4 00012 * 00013 * created on: 2003feb1 00014 * created by: Ram Viswanadha 00015 */ 00016 00017 #ifndef __UIDNA_H__ 00018 #define __UIDNA_H__ 00019 00020 #include "unicode/utypes.h" 00021 00022 #if !UCONFIG_NO_IDNA 00023 00024 #include "unicode/parseerr.h" 00025 00050 #ifndef U_HIDE_DRAFT_API 00051 00059 #define UIDNA_DEFAULT 0x0000 00060 00066 #define UIDNA_ALLOW_UNASSIGNED 0x0001 00067 00073 #define UIDNA_USE_STD3_RULES 0x0002 00074 00075 #endif /*U_HIDE_DRAFT_API*/ 00076 00115 U_DRAFT int32_t U_EXPORT2 00116 uidna_toASCII(const UChar* src, int32_t srcLength, 00117 UChar* dest, int32_t destCapacity, 00118 int32_t options, 00119 UParseError* parseError, 00120 UErrorCode* status); 00121 00122 00165 U_DRAFT int32_t U_EXPORT2 00166 uidna_toUnicode(const UChar* src, int32_t srcLength, 00167 UChar* dest, int32_t destCapacity, 00168 int32_t options, 00169 UParseError* parseError, 00170 UErrorCode* status); 00171 00172 00215 U_DRAFT int32_t U_EXPORT2 00216 uidna_IDNToASCII( const UChar* src, int32_t srcLength, 00217 UChar* dest, int32_t destCapacity, 00218 int32_t options, 00219 UParseError* parseError, 00220 UErrorCode* status); 00221 00261 U_DRAFT int32_t U_EXPORT2 00262 uidna_IDNToUnicode( const UChar* src, int32_t srcLength, 00263 UChar* dest, int32_t destCapacity, 00264 int32_t options, 00265 UParseError* parseError, 00266 UErrorCode* status); 00267 00302 U_DRAFT int32_t U_EXPORT2 00303 uidna_compare( const UChar *s1, int32_t length1, 00304 const UChar *s2, int32_t length2, 00305 int32_t options, 00306 UErrorCode* status); 00307 00308 #endif /* #if !UCONFIG_NO_IDNA */ 00309 00310 #endif

Generated on Fri Jun 18 12:36:00 2004 for ICU by doxygen 1.3.7