aboutsummaryrefslogtreecommitdiffstats
path: root/libwc/hz.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/hz.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 '')
-rw-r--r--libwc/hz.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/libwc/hz.h b/libwc/hz.h
new file mode 100644
index 0000000..62d9782
--- /dev/null
+++ b/libwc/hz.h
@@ -0,0 +1,20 @@
+
+#ifndef _WC_HZ_H
+#define _WC_HZ_H
+
+#define WC_C_HZ_TILDA '~'
+#define WC_C_HZ_SI '{'
+#define WC_C_HZ_SO '}'
+
+#define WC_HZ_NOSTATE 0
+#define WC_HZ_TILDA 1
+#define WC_HZ_TILDA_MB 2
+#define WC_HZ_MBYTE 3
+#define WC_HZ_MBYTE1 4
+#define WC_HZ_MBYTE1_GR 5
+
+extern Str wc_conv_from_hz(Str is, wc_ces ces);
+extern void wc_push_to_hz(Str os, wc_wchar_t cc, wc_status *st);
+extern void wc_push_to_hz_end(Str os, wc_status *st);
+
+#endif