iconv.h 587 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef _ICONV_H
  2. #define _ICONV_H 1
  3. #define _LIBICONV_VERSION 0x010B /* version number: (major<<8) + minor */
  4. #include <stddef.h>
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8. extern int _libiconv_version; /* Likewise */
  9. typedef long iconv_t;
  10. extern iconv_t
  11. iconv_open(const char *tocode, const char *fromcode);
  12. extern size_t
  13. iconv(iconv_t cd, char **inbuf, size_t *inbytesleft,
  14. char **outbuf, size_t *outbytesleft);
  15. extern int
  16. iconv_close(iconv_t cd);
  17. #define libiconv_set_relocation_prefix(...) do {} while(0)
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #endif /* _ICONV_H */