|
version 1.1, 2012/02/21 22:57:48
|
version 1.1.1.3, 2021/03/17 13:38:46
|
|
Line 1
|
Line 1
|
| /* Copyright (C) 1999-2003, 2005-2006, 2008-2009 Free Software Foundation, Inc. | /* Copyright (C) 1999-2019 Free Software Foundation, Inc. |
| This file is part of the GNU LIBICONV Library. |
This file is part of the GNU LIBICONV Library. |
| |
|
| The GNU LIBICONV Library is free software; you can redistribute it |
The GNU LIBICONV Library is free software; you can redistribute it |
|
Line 13
|
Line 13
|
| |
|
| You should have received a copy of the GNU Library General Public |
You should have received a copy of the GNU Library General Public |
| License along with the GNU LIBICONV Library; see the file COPYING.LIB. |
License along with the GNU LIBICONV Library; see the file COPYING.LIB. |
| If not, write to the Free Software Foundation, Inc., 51 Franklin Street, | If not, see <https://www.gnu.org/licenses/>. */ |
| Fifth Floor, Boston, MA 02110-1301, USA. */ | |
| |
|
| /* When installed, this file is called "iconv.h". */ |
/* When installed, this file is called "iconv.h". */ |
| |
|
| #ifndef _LIBICONV_H |
#ifndef _LIBICONV_H |
| #define _LIBICONV_H |
#define _LIBICONV_H |
| |
|
| #define _LIBICONV_VERSION 0x010D /* version number: (major<<8) + minor */ | #define _LIBICONV_VERSION 0x0110 /* version number: (major<<8) + minor */ |
| |
|
| #if @HAVE_VISIBILITY@ && BUILDING_LIBICONV |
#if @HAVE_VISIBILITY@ && BUILDING_LIBICONV |
| #define LIBICONV_DLL_EXPORTED __attribute__((__visibility__("default"))) |
#define LIBICONV_DLL_EXPORTED __attribute__((__visibility__("default"))) |
| |
#elif defined _MSC_VER && BUILDING_LIBICONV |
| |
#define LIBICONV_DLL_EXPORTED __declspec(dllexport) |
| #else |
#else |
| #define LIBICONV_DLL_EXPORTED |
#define LIBICONV_DLL_EXPORTED |
| #endif |
#endif |
|
Line 95 extern LIBICONV_DLL_EXPORTED size_t iconv (iconv_t cd,
|
Line 96 extern LIBICONV_DLL_EXPORTED size_t iconv (iconv_t cd,
|
| extern LIBICONV_DLL_EXPORTED int iconv_close (iconv_t cd); |
extern LIBICONV_DLL_EXPORTED int iconv_close (iconv_t cd); |
| |
|
| |
|
| |
#ifdef __cplusplus |
| |
} |
| |
#endif |
| |
|
| |
|
| #ifndef LIBICONV_PLUG |
#ifndef LIBICONV_PLUG |
| |
|
| /* Nonstandard extensions. */ |
/* Nonstandard extensions. */ |
|
Line 112 extern LIBICONV_DLL_EXPORTED int iconv_close (iconv_t
|
Line 118 extern LIBICONV_DLL_EXPORTED int iconv_close (iconv_t
|
| #include <wchar.h> |
#include <wchar.h> |
| #endif |
#endif |
| |
|
| |
#ifdef __cplusplus |
| |
extern "C" { |
| |
#endif |
| |
|
| /* A type that holds all memory needed by a conversion descriptor. |
/* A type that holds all memory needed by a conversion descriptor. |
| A pointer to such an object can be used as an iconv_t. */ |
A pointer to such an object can be used as an iconv_t. */ |
| typedef struct { |
typedef struct { |
|
Line 227 extern LIBICONV_DLL_EXPORTED const char * iconv_canoni
|
Line 237 extern LIBICONV_DLL_EXPORTED const char * iconv_canoni
|
| prefixes should be directory names without trailing slash (i.e. use "" |
prefixes should be directory names without trailing slash (i.e. use "" |
| instead of "/"). */ |
instead of "/"). */ |
| extern LIBICONV_DLL_EXPORTED void libiconv_set_relocation_prefix (const char *orig_prefix, |
extern LIBICONV_DLL_EXPORTED void libiconv_set_relocation_prefix (const char *orig_prefix, |
| const char *curr_prefix); | const char *curr_prefix); |
| |
|
| #endif |
|
| |
|
| |
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| } |
} |
| |
#endif |
| |
|
| #endif |
#endif |
| |
|
| |
|