iconv.h 358 B

1234567891011121314
  1. #ifndef _LIBICONV_H
  2. #define _LIBICONV_H
  3. #include <stddef.h>
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. typedef void* iconv_t;
  8. iconv_t iconv_open(const char *tocode, const char *fromcode);
  9. int iconv_close(iconv_t cd);
  10. size_t iconv(iconv_t cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft);
  11. #ifdef __cplusplus
  12. }
  13. #endif
  14. #endif//_LIBICONV_H