[packages] libiconv: add stddef.h include to stub header
[packages.git] / libs / libiconv / src / include / iconv.h
1 /*
2  * Very simple iconv api stub.
3  */
4
5 #ifndef _ICONV_H
6 #define _ICONV_H 1
7
8 #include <stddef.h>
9
10 typedef void *iconv_t;
11
12 extern iconv_t
13 iconv_open(const char *tocode, const char *fromcode);
14
15 extern size_t
16 iconv(iconv_t cd, char **inbuf, size_t *inbytesleft,
17                   char **outbuf, size_t *outbytesleft);
18
19 extern int
20 iconv_close(iconv_t cd);
21
22 #endif /* _ICONV_H */