summaryrefslogtreecommitdiffstats
path: root/mbbsd/convert.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-05-27 17:13:25 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-05-27 17:13:25 +0800
commit7fb50c3a816f8b243e387dd903df6fbd732735d3 (patch)
tree1d64a28cd87a251048652b27299fab8abcd6aa2c /mbbsd/convert.c
parent47e1682c7ad6d559f46b49d525423479d7d78316 (diff)
downloadpttbbs-7fb50c3a816f8b243e387dd903df6fbd732735d3.tar
pttbbs-7fb50c3a816f8b243e387dd903df6fbd732735d3.tar.gz
pttbbs-7fb50c3a816f8b243e387dd903df6fbd732735d3.tar.bz2
pttbbs-7fb50c3a816f8b243e387dd903df6fbd732735d3.tar.lz
pttbbs-7fb50c3a816f8b243e387dd903df6fbd732735d3.tar.xz
pttbbs-7fb50c3a816f8b243e387dd903df6fbd732735d3.tar.zst
pttbbs-7fb50c3a816f8b243e387dd903df6fbd732735d3.zip
- many small revise
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4487 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/convert.c')
-rw-r--r--mbbsd/convert.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/mbbsd/convert.c b/mbbsd/convert.c
index e5d0f07b..611e54ac 100644
--- a/mbbsd/convert.c
+++ b/mbbsd/convert.c
@@ -3,6 +3,13 @@
#ifdef CONVERT
+#ifdef CONVERT
+extern void big2gb_init(void*);
+extern void gb2big_init(void*);
+extern void big2uni_init(void*);
+extern void uni2big_init(void*);
+#endif
+
extern unsigned char *gb2big(unsigned char *, int *, int);
extern unsigned char *big2gb(unsigned char *, int *, int);
extern unsigned char *utf8_uni(unsigned char *, int *, int);
@@ -120,4 +127,12 @@ void set_converting_type(int which)
// bbs_convert_type = which;
}
+void init_convert()
+{
+ big2gb_init(NULL);
+ gb2big_init(NULL);
+ big2uni_init(NULL);
+ uni2big_init(NULL);
+}
+
#endif