00001 /* 00002 ********************************************************************** 00003 * Copyright (c) 2003-2004, International Business Machines 00004 * Corporation and others. All Rights Reserved. 00005 ********************************************************************** 00006 * Author: Alan Liu 00007 * Created: March 19 2003 00008 * Since: ICU 2.6 00009 ********************************************************************** 00010 */ 00011 #ifndef UCAT_H 00012 #define UCAT_H 00013 00014 #include "unicode/utypes.h" 00015 #include "unicode/ures.h" 00016 00064 U_CDECL_BEGIN 00065 00071 typedef UResourceBundle* u_nl_catd; 00072 00104 U_STABLE u_nl_catd U_EXPORT2 00105 u_catopen(const char* name, const char* locale, UErrorCode* ec); 00106 00115 U_STABLE void U_EXPORT2 00116 u_catclose(u_nl_catd catd); 00117 00150 U_STABLE const UChar* U_EXPORT2 00151 u_catgets(u_nl_catd catd, int32_t set_num, int32_t msg_num, 00152 const UChar* s, 00153 int32_t* len, UErrorCode* ec); 00154 00155 U_CDECL_END 00156 00157 #endif /*UCAT_H*/ 00158 /*eof*/