00001 #ifndef __UENUM_H 00002 #define __UENUM_H 00003 00004 /* 00005 ******************************************************************************* 00006 * 00007 * Copyright (C) 2002, International Business Machines 00008 * Corporation and others. All Rights Reserved. 00009 * 00010 ******************************************************************************* 00011 * file name: uenum.h 00012 * encoding: US-ASCII 00013 * tab size: 8 (not used) 00014 * indentation:2 00015 * 00016 * created on: 2002jul08 00017 * created by: Vladimir Weinstein 00018 */ 00019 00020 #include "unicode/utypes.h" 00021 00025 struct UEnumeration; 00027 typedef struct UEnumeration UEnumeration; 00028 00035 U_CAPI void U_EXPORT2 00036 uenum_close(UEnumeration* en); 00037 00051 U_CAPI int32_t U_EXPORT2 00052 uenum_count(UEnumeration* en, UErrorCode* status); 00053 00074 U_CAPI const UChar* U_EXPORT2 00075 uenum_unext(UEnumeration* en, 00076 int32_t* resultLength, 00077 UErrorCode* status); 00078 00106 U_CAPI const char* U_EXPORT2 00107 uenum_next(UEnumeration* en, 00108 int32_t* resultLength, 00109 UErrorCode* status); 00110 00119 U_CAPI void U_EXPORT2 00120 uenum_reset(UEnumeration* en, UErrorCode* status); 00121 00122 #endif