aboutsummaryrefslogtreecommitdiffstats
path: root/libwc/viet.h
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:18:09 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:18:09 +0000
commit5f8e0f8ef9a422691dd72e8a953a42a41478fcb4 (patch)
tree4b2df4796a534793648b3c4fc532fc36bd0cd525 /libwc/viet.h
parentReleasing debian version 0.3-2.4 (diff)
downloadw3m-5f8e0f8ef9a422691dd72e8a953a42a41478fcb4.tar.gz
w3m-5f8e0f8ef9a422691dd72e8a953a42a41478fcb4.zip
Releasing debian version 0.5.1-1debian/0.5.1-1
Diffstat (limited to 'libwc/viet.h')
-rw-r--r--libwc/viet.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/libwc/viet.h b/libwc/viet.h
new file mode 100644
index 0000000..2d080f4
--- /dev/null
+++ b/libwc/viet.h
@@ -0,0 +1,17 @@
+
+#ifndef _WC_VIET_H
+#define _WC_VIET_H
+
+extern wc_uint8 wc_c0_tcvn57122_map[];
+extern wc_uint8 wc_c0_viscii112_map[];
+extern wc_uint8 wc_c0_vps2_map[];
+
+extern Str wc_conv_from_viet(Str is, wc_ces ces);
+extern void wc_push_to_viet(Str os, wc_wchar_t cc, wc_status *st);
+extern void wc_push_to_cp1258(Str os, wc_wchar_t cc, wc_status *st);
+extern wc_wchar_t wc_tcvn57123_to_tcvn5712(wc_wchar_t cc);
+extern wc_uint32 wc_tcvn5712_precompose(wc_uchar c1, wc_uchar c2);
+extern wc_uint32 wc_cp1258_precompose(wc_uchar c1, wc_uchar c2);
+extern Str wc_char_conv_from_viet(wc_uchar c, wc_status *st);
+
+#endif