- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

# uidna.h

Go to the documentation of this file.

    00001 /*
    00002  *******************************************************************************
    00003  *
    00004  *   Copyright (C) 2003-2010, 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
    00059 #define UIDNA_DEFAULT          0x0000
    00060
    00066 #define UIDNA_ALLOW_UNASSIGNED 0x0001
    00067
    00073 #define UIDNA_USE_STD3_RULES   0x0002
    00074
    00113 U_STABLE int32_t U_EXPORT2
    00114 uidna_toASCII(const UChar* src, int32_t srcLength,
    00115               UChar* dest, int32_t destCapacity,
    00116               int32_t options,
    00117               UParseError* parseError,
    00118               UErrorCode* status);
    00119
    00120
    00163 U_STABLE int32_t U_EXPORT2
    00164 uidna_toUnicode(const UChar* src, int32_t srcLength,
    00165                 UChar* dest, int32_t destCapacity,
    00166                 int32_t options,
    00167                 UParseError* parseError,
    00168                 UErrorCode* status);
    00169
    00170
    00214 U_STABLE int32_t U_EXPORT2
    00215 uidna_IDNToASCII(  const UChar* src, int32_t srcLength,
    00216                    UChar* dest, int32_t destCapacity,
    00217                    int32_t options,
    00218                    UParseError* parseError,
    00219                    UErrorCode* status);
    00220
    00261 U_STABLE 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_STABLE 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

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines