2 *** Declarations for the iconv wrappers.
4 *** See Copyright for the status of this software.
6 *** Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
16 #include <stddef.h> /* For size_t. */
19 typedef void * Iconv_t;
22 Iconv_t IconvOpen(const char * tocode, const char * fromcode);
23 size_t Iconv(Iconv_t cd, char * * inbuf, size_t * inbytesleft,
24 char * * outbuf, size_t * outbytesleft);
25 int IconvClose(Iconv_t cd);
28 #ifndef USE_SYSTEM_ICONV
29 #define iconv_t Iconv_t
30 #define iconv_open IconvOpen
32 #define iconv_close IconvClose