Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

usprep.h

Go to the documentation of this file.
00001 /* 00002 ******************************************************************************* 00003 * 00004 * Copyright (C) 2003, International Business Machines 00005 * Corporation and others. All Rights Reserved. 00006 * 00007 ******************************************************************************* 00008 * file name: usprep.h 00009 * encoding: US-ASCII 00010 * tab size: 8 (not used) 00011 * indentation:4 00012 * 00013 * created on: 2003jul2 00014 * created by: Ram Viswanadha 00015 */ 00016 00017 #ifndef __USPREP_H__ 00018 #define __USPREP_H__ 00019 00020 #include "unicode/utypes.h" 00053 #if !UCONFIG_NO_IDNA 00054 00055 #include "unicode/parseerr.h" 00060 typedef struct UStringPrepProfile UStringPrepProfile; 00061 00062 00069 #define USPREP_DEFAULT 0x0000 00070 00077 #define USPREP_ALLOW_UNASSIGNED 0x0001 00078 00079 00080 00096 U_CAPI UStringPrepProfile* U_EXPORT2 00097 usprep_open(const char* path, 00098 const char* fileName, 00099 UErrorCode* status); 00100 00101 00107 U_CAPI void U_EXPORT2 00108 usprep_close(UStringPrepProfile* profile); 00109 00110 00140 U_CAPI int32_t U_EXPORT2 00141 usprep_prepare( const UStringPrepProfile* prep, 00142 const UChar* src, int32_t srcLength, 00143 UChar* dest, int32_t destCapacity, 00144 int32_t options, 00145 UParseError* parseError, 00146 UErrorCode* status ); 00147 00148 00149 #endif /* #if !UCONFIG_NO_IDNA */ 00150 00151 #endif

Generated on Wed Jul 28 09:15:54 2004 for ICU 2.8 by doxygen 1.3.7