Annotation of win32/gnome/gmime-x.x.x/gmime-iconv-utils.h, revision 1.1
1.1 ! paf 1: /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
! 2: /*
! 3: * Authors: Jeffrey Stedfast <fejj@ximian.com>
! 4: *
! 5: * Copyright 2002 Ximian, Inc. (www.ximian.com)
! 6: *
! 7: * This program is free software; you can redistribute it and/or modify
! 8: * it under the terms of the GNU General Public License as published by
! 9: * the Free Software Foundation; either version 2 of the License, or
! 10: * (at your option) any later version.
! 11: *
! 12: * This program is distributed in the hope that it will be useful,
! 13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
! 14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! 15: * GNU General Public License for more details.
! 16: *
! 17: * You should have received a copy of the GNU General Public License
! 18: * along with this program; if not, write to the Free Software
! 19: * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA.
! 20: *
! 21: */
! 22:
! 23:
! 24: #ifndef __GMIME_ICONV_UTILS_H__
! 25: #define __GMIME_ICONV_UTILS_H__
! 26:
! 27: #ifdef __cplusplus
! 28: extern "C" {
! 29: //#pragma }
! 30: #endif /* __cplusplus */
! 31:
! 32: #include <sys/types.h>
! 33: //#include <iconv.h>
! 34: #include "gmime-iconv.h"
! 35:
! 36: char *g_mime_iconv_strdup (iconv_t cd, const char *string);
! 37: char *g_mime_iconv_strndup (iconv_t cd, const char *string, size_t n);
! 38:
! 39: char *g_mime_iconv_locale_to_utf8 (const char *string);
! 40: char *g_mime_iconv_locale_to_utf8_length (const char *string, size_t n);
! 41:
! 42: char *g_mime_iconv_utf8_to_locale (const char *string);
! 43: char *g_mime_iconv_utf8_to_locale_length (const char *string, size_t n);
! 44:
! 45: #ifdef __cplusplus
! 46: }
! 47: #endif /* __cplusplus */
! 48:
! 49: #endif /* __GMIME_ICONV_UTILS_H__ */
E-mail: