about summary refs log tree commit diff
path: root/tr2cyr.h
diff options
context:
space:
mode:
Diffstat (limited to 'tr2cyr.h')
-rw-r--r--tr2cyr.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/tr2cyr.h b/tr2cyr.h
new file mode 100644
index 0000000..d551a58
--- /dev/null
+++ b/tr2cyr.h
@@ -0,0 +1,12 @@
+#ifndef __TR2CYR_H__
+#define __TR2CYR_H__
+
+#include <wchar.h>
+
+
+typedef int tr2cyr_writer(wchar_t ch, void *arg);
+typedef wint_t tr2cyr_reader(size_t i, void *arg);
+
+int tr2cyr(tr2cyr_reader *reader, void *readerarg, tr2cyr_writer *writer, void *writerarg);
+
+#endif /* __TR2CYR_H__ */