OpenWrt – Blame information for rev 4

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 #ifndef _LIBICONV_H
2 #define _LIBICONV_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 #define iconv_open libiconv_open
17 #define iconv libiconv
18 #define iconv_close libiconv_close
19  
20 extern iconv_t
21 iconv_open(const char *tocode, const char *fromcode);
22  
23 extern size_t
24 iconv(iconv_t cd, char **inbuf, size_t *inbytesleft,
25 char **outbuf, size_t *outbytesleft);
26  
27 extern int
28 iconv_close(iconv_t cd);
29  
30 #define libiconv_set_relocation_prefix(...) do {} while(0)
31  
32 #ifdef __cplusplus
33 }
34 #endif
35  
36 #endif /* _LIBICONV_H */