summaryrefslogtreecommitdiffstats
path: root/iconv.h
diff options
context:
space:
mode:
Diffstat (limited to 'iconv.h')
-rw-r--r--iconv.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/iconv.h b/iconv.h
new file mode 100644
index 0000000..42b3ea3
--- /dev/null
+++ b/iconv.h
@@ -0,0 +1,16 @@
+#ifndef ICONV_H
+#define ICONV_H
+
+#include <stdlib.h>
+
+typedef int iconv_t;
+
+iconv_t iconv_open(const char *tocode, const char *fromcode) __THROW;
+
+size_t iconv(iconv_t cd, const char **inbuf, size_t *inbytesleft,
+ char **outbuf, size_t *outbytesleft) __THROW;
+
+int iconv_close(iconv_t) __THROW;
+
+
+#endif