mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-16 01:40:52 +08:00
33 lines
813 B
C
33 lines
813 B
C
|
#ifndef __ACL_GBCODE_INCLUDE_H__
|
|||
|
#define __ACL_GBCODE_INCLUDE_H__
|
|||
|
|
|||
|
#ifdef __cplusplus
|
|||
|
extern "C" {
|
|||
|
#endif
|
|||
|
#include "stdlib/acl_define.h"
|
|||
|
|
|||
|
/**
|
|||
|
* <EFBFBD><EFBFBD>GBK<EFBFBD>ַ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>еļ<EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><EFBFBD>ΪGBK<EFBFBD>ַ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>еķ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
* @param data {const char*} <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
* @param dlen {size_t} data <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
* @param buf {char*} <EFBFBD>洢ת<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> buf <EFBFBD><EFBFBD>ַ<EFBFBD><EFBFBD> data <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͬһ<EFBFBD><EFBFBD>ַ
|
|||
|
* @param size {size_t} buf <EFBFBD>ռ<EFBFBD><EFBFBD><EFBFBD>С
|
|||
|
*/
|
|||
|
ACL_API void acl_gbjt2ft(const char *data, size_t dlen, char *buf, size_t size);
|
|||
|
|
|||
|
|
|||
|
/**
|
|||
|
* <EFBFBD><EFBFBD>GBK<EFBFBD>ַ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>еķ<EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><EFBFBD>ΪGBK<EFBFBD>ַ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>еļ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
* @param data {const char*} <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
* @param dlen {size_t} data <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
* @param buf {char*} <EFBFBD>洢ת<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> buf <EFBFBD><EFBFBD>ַ<EFBFBD><EFBFBD> data <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͬһ<EFBFBD><EFBFBD>ַ
|
|||
|
* @param size {size_t} buf <EFBFBD>ռ<EFBFBD><EFBFBD><EFBFBD>С
|
|||
|
*/
|
|||
|
ACL_API void acl_gbft2jt(const char *data, size_t dlen, char *buf, size_t size);
|
|||
|
|
|||
|
#ifdef __cplusplus
|
|||
|
}
|
|||
|
#endif
|
|||
|
|
|||
|
#endif
|