summaryrefslogtreecommitdiffstats
path: root/simple_recode.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-09 13:11:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-09 13:11:53 +0000
commit655cb1b8222b0a587bbdd5c1357d55682332c665 (patch)
tree65a83d3c36e6d4c4d57cec63f63d2019b2dfc93b /simple_recode.h
parentInitial commit. (diff)
downloadwhois-655cb1b8222b0a587bbdd5c1357d55682332c665.tar.xz
whois-655cb1b8222b0a587bbdd5c1357d55682332c665.zip
Adding upstream version 5.5.21.upstream/5.5.21
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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