usprep.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: 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" 00056 00057 #ifndef U_HIDE_DRAFT_API 00058 00063 typedef struct UStringPrepProfile UStringPrepProfile; 00064 00065 00072 #define USPREP_DEFAULT 0x0000 00073 00080 #define USPREP_ALLOW_UNASSIGNED 0x0001 00081 00082 00083 #endif /*U_HIDE_DRAFT_API*/ 00084 00100 U_DRAFT UStringPrepProfile* U_EXPORT2 00101 usprep_open(const char* path, 00102 const char* fileName, 00103 UErrorCode* status); 00104 00105 00111 U_DRAFT void U_EXPORT2 00112 usprep_close(UStringPrepProfile* profile); 00113 00114 00144 U_DRAFT int32_t U_EXPORT2 00145 usprep_prepare( const UStringPrepProfile* prep, 00146 const UChar* src, int32_t srcLength, 00147 UChar* dest, int32_t destCapacity, 00148 int32_t options, 00149 UParseError* parseError, 00150 UErrorCode* status ); 00151 00152 00153 #endif /* #if !UCONFIG_NO_IDNA */ 00154 00155 #endif

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