mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-21 18:35:54 +08:00
更新硬件SDK
This commit is contained in:
36
sdk/合宙/air780e/csdk/luatos-soc-2022/thirdparty/iconv/iconv.h
vendored
Normal file
36
sdk/合宙/air780e/csdk/luatos-soc-2022/thirdparty/iconv/iconv.h
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
/**************************************************************************
|
||||
* Copyright (C), AirM2M Tech. Co., Ltd.
|
||||
*
|
||||
* Name: iconv.h
|
||||
* Author: liweiqiang
|
||||
* Version: V0.1
|
||||
* Date: 2013/7/15
|
||||
*
|
||||
* Description:
|
||||
* <20>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><D7AA>
|
||||
**************************************************************************/
|
||||
|
||||
#ifndef __ICONV_H__
|
||||
#define __ICONV_H__
|
||||
|
||||
// #include "stddef.h"
|
||||
|
||||
/* Identifier for conversion method from one codeset to another. */
|
||||
typedef void *iconv_t;
|
||||
|
||||
/* Allocate descriptor for code conversion from codeset FROMCODE to
|
||||
codeset TOCODE. */
|
||||
extern iconv_t iconv_open (const char *to_code, const char *from_code);
|
||||
|
||||
/* Convert at most *INBYTESLEFT bytes from *INBUF according to the
|
||||
code conversion algorithm specified by CD and place up to
|
||||
*OUTBYTESLEFT bytes in buffer at *OUTBUF. */
|
||||
extern size_t iconv_convert (iconv_t __cd, char ** __inbuf,
|
||||
size_t * __inbytesleft,
|
||||
char ** __outbuf,
|
||||
size_t * __outbytesleft);
|
||||
|
||||
/* Free resources allocated for descriptor CD for code conversion. */
|
||||
extern int iconv_close (iconv_t cd);
|
||||
|
||||
#endif/*__ICONV_H__*/
|
||||
Reference in New Issue
Block a user