00001 /* 00002 ******************************************************************************* 00003 * 00004 * Copyright (C) 2002-2005, International Business Machines 00005 * Corporation and others. All Rights Reserved. 00006 * 00007 ******************************************************************************* 00008 * file name: uenum.h 00009 * encoding: US-ASCII 00010 * tab size: 8 (not used) 00011 * indentation:2 00012 * 00013 * created on: 2002jul08 00014 * created by: Vladimir Weinstein 00015 */ 00016 00017 #ifndef __UENUM_H 00018 #define __UENUM_H 00019 00020 #include "unicode/utypes.h" 00021 00032 struct UEnumeration; 00034 typedef struct UEnumeration UEnumeration; 00035 00043 U_STABLE void U_EXPORT2 00044 uenum_close(UEnumeration* en); 00045 00060 U_STABLE int32_t U_EXPORT2 00061 uenum_count(UEnumeration* en, UErrorCode* status); 00062 00084 U_STABLE const UChar* U_EXPORT2 00085 uenum_unext(UEnumeration* en, 00086 int32_t* resultLength, 00087 UErrorCode* status); 00088 00117 U_STABLE const char* U_EXPORT2 00118 uenum_next(UEnumeration* en, 00119 int32_t* resultLength, 00120 UErrorCode* status); 00121 00131 U_STABLE void U_EXPORT2 00132 uenum_reset(UEnumeration* en, UErrorCode* status); 00133 00134 #endif