libiconv: move to trunk and add myself as maintainer
[openwrt/staging/lynxis/omap.git] / package / libs / libiconv / src / include / iconv.h
1 #ifndef _ICONV_H
2 #define _ICONV_H 1
3
4 #define _LIBICONV_VERSION 0x010B /* version number: (major<<8) + minor */
5
6 #include <stddef.h>
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 extern int _libiconv_version; /* Likewise */
13
14 typedef long iconv_t;
15
16 extern iconv_t
17 iconv_open(const char *tocode, const char *fromcode);
18
19 extern size_t
20 iconv(iconv_t cd, char **inbuf, size_t *inbytesleft,
21 char **outbuf, size_t *outbytesleft);
22
23 extern int
24 iconv_close(iconv_t cd);
25
26 #define libiconv_set_relocation_prefix(...) do {} while(0)
27
28 #ifdef __cplusplus
29 }
30 #endif
31
32 #endif /* _ICONV_H */