update: 调整mobile.scell函数的返回值为table,一次性返回足够多的信息, 并可以容纳更多信息
[LuatOS.git] / components / iconv / prv_iconv.h
blob14f30296b9c1a2a1cb12f289ebd70395d1c07932
1 /**************************************************************************
2 * Copyright (C), AirM2M Tech. Co., Ltd.
4 * Name: prv_iconv.h
5 * Author: liweiqiang
6 * Version: V0.1
7 * Date: 2013/7/15
9 * Description:
10 * ×Ö·û±àÂëת»»ÄÚ²¿ÉùÃ÷Îļþ
11 **************************************************************************/
13 #ifndef __PRV_ICONV_H__
14 #define __PRV_ICONV_H__
16 /* ±àÂëת»»´¦Àíº¯Êý iconv */
17 typedef size_t (*iconv_fct) (char ** __inbuf,
18 size_t * __inbytesleft,
19 char ** __outbuf,
20 size_t * __outbytesleft);
22 size_t iconv_ucs2_to_gb2312(char **, size_t *, char **, size_t *);
23 /*+\NEW\liweiqiang\2013.11.26\ÍêÉÆgb2312<->ucs2(ucs2be)±àÂëת»»*/
24 size_t iconv_ucs2be_to_gb2312(char **, size_t *, char **, size_t *);
25 size_t iconv_gb2312_to_ucs2(char **, size_t *, char **, size_t *);
26 size_t iconv_gb2312_to_ucs2be(char **, size_t *, char **, size_t *);
27 /*-\NEW\liweiqiang\2013.11.26\ÍêÉÆgb2312<->ucs2(ucs2be)±àÂëת»»*/
29 /*+\NEW\liweiqiang\2013.7.19\Ôö¼Óutf8<->ucs2,ucs2be±àÂëת»»*/
30 size_t iconv_utf8_to_ucs2(char **, size_t *, char **, size_t *);
32 size_t iconv_utf8_to_ucs2be(char **, size_t *, char **, size_t *);
34 size_t iconv_ucs2_to_utf8(char **, size_t *, char **, size_t *);
36 size_t iconv_ucs2be_to_utf8(char **, size_t *, char **, size_t *);
37 /*-\NEW\liweiqiang\2013.7.19\Ôö¼Óutf8<->ucs2,ucs2be±àÂëת»»*/
39 #endif/*__PRV_ICONV_H__*/