diff options
Diffstat (limited to 'simple_recode.h')
-rw-r--r-- | simple_recode.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/simple_recode.h b/simple_recode.h new file mode 100644 index 0000000..5fc95b0 --- /dev/null +++ b/simple_recode.h @@ -0,0 +1,14 @@ +#ifndef SIMPLE_RECODE_H +#define SIMPLE_RECODE_H + +#include <iconv.h> +#include <stdio.h> + +extern iconv_t simple_recode_iconv_handle; +extern const char *simple_recode_input_charset; + +char *simple_recode(const iconv_t handle, const char *str); +int recode_fputs(const char *s, FILE* stream); +void simple_recode_iconv_close(void); + +#endif |