00001 /* 00002 * $Id: gi_iconv.h,v 1.1.2.2 2004/02/27 11:23:15 jasta Exp $ 00003 * 00004 * Copyright (C) 2003 giFT project (gift.sourceforge.net) 00005 * 00006 * This program is free software; you can redistribute it and/or modify it 00007 * under the terms of the GNU General Public License as published by the 00008 * Free Software Foundation; either version 2, or (at your option) any 00009 * later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, but 00012 * WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * General Public License for more details. 00015 */ 00016 00017 #ifndef __GI_ICONV_H 00018 #define __GI_ICONV_H 00019 00020 /*****************************************************************************/ 00021 00028 /*****************************************************************************/ 00029 00030 EXTERN_C_BEGIN 00031 00032 /*****************************************************************************/ 00033 00039 LIBGIFT_EXPORT 00040 bool gi_iconv_init (void); 00041 00045 LIBGIFT_EXPORT 00046 void gi_iconv_finish (void); 00047 00057 LIBGIFT_EXPORT 00058 char *gi_locale_to_utf8 (const char *locale_str); 00059 00069 LIBGIFT_EXPORT 00070 char *gi_utf8_to_locale (const char *utf8_str); 00071 00072 /*****************************************************************************/ 00073 00074 EXTERN_C_END 00075 00076 /*****************************************************************************/ 00077 00078 #endif /* __GI_ICONV_H */
1.3.7