summaryrefslogtreecommitdiff
path: root/simple_recode.h
diff options
context:
space:
mode:
authorMarco d'Itri <md@linux.it>2009-12-20 03:01:40 +0100
committerMarco d'Itri <md@linux.it>2013-03-30 02:31:38 +0100
commit15c8d523f76befe5128f2147c98730fd03b44dab (patch)
treef8edf6cbd2424ca8d2c0bd2c9190dfdd63ac53ed /simple_recode.h
parente8806bc5090585fb90ca0f6a299ca013e4d61d11 (diff)
downloadwhois-15c8d523f76befe5128f2147c98730fd03b44dab.tar.gz
Imported Debian version 5.0.0v5.0.0
Diffstat (limited to 'simple_recode.h')
-rw-r--r--simple_recode.h14
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