summaryrefslogtreecommitdiffstats
path: root/src/fake_rcd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fake_rcd.h')
-rw-r--r--src/fake_rcd.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/fake_rcd.h b/src/fake_rcd.h
new file mode 100644
index 0000000..8dcb9ae
--- /dev/null
+++ b/src/fake_rcd.h
@@ -0,0 +1,22 @@
+#ifndef _LIBRCD_H
+#define _LIBRCD_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+enum rcd_russian_charset_t {
+ RUSSIAN_CHARSET_WIN = 0,
+ RUSSIAN_CHARSET_KOI,
+ RUSSIAN_CHARSET_UTF8,
+ RUSSIAN_CHARSET_ALT
+};
+typedef enum rcd_russian_charset_t rcd_russian_charset;
+
+rcd_russian_charset (*rcdGetRussianCharset)(const char *buf, int len) = NULL;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _LIBRCD_H */