2010-12-19 04:38:28 +00:00
|
|
|
#ifndef _ICONV_H
|
|
|
|
#define _ICONV_H 1
|
|
|
|
|
2010-12-19 05:09:34 +00:00
|
|
|
#include <stddef.h>
|
|
|
|
|
2011-01-01 23:11:48 +00:00
|
|
|
#define _LIBICONV_VERSION 0x010B /* version number: (major<<8) + minor */
|
|
|
|
extern int _libiconv_version; /* Likewise */
|
|
|
|
|
|
|
|
typedef long iconv_t;
|
2010-12-19 04:38:28 +00:00
|
|
|
|
|
|
|
extern iconv_t
|
|
|
|
iconv_open(const char *tocode, const char *fromcode);
|
|
|
|
|
|
|
|
extern size_t
|
|
|
|
iconv(iconv_t cd, char **inbuf, size_t *inbytesleft,
|
|
|
|
char **outbuf, size_t *outbytesleft);
|
|
|
|
|
|
|
|
extern int
|
|
|
|
iconv_close(iconv_t cd);
|
|
|
|
|
|
|
|
#endif /* _ICONV_H */
|