mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-27 22:48:54 +00:00
36 lines
662 B
C
36 lines
662 B
C
|
|
/**
|
|||
|
|
* File: fscript_crc.h
|
|||
|
|
* Author: AWTK Develop Team
|
|||
|
|
* Brief: crc functions for fscript
|
|||
|
|
*
|
|||
|
|
* Copyright (c) 2020 - 2023 Guangzhou ZHIYUAN Electronics Co.,Ltd.
|
|||
|
|
*
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* History:
|
|||
|
|
* ================================================================
|
|||
|
|
* 2021-01-04 Li XianJing <lixianjing@zlg.cn> created
|
|||
|
|
*
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#ifndef TK_FSCRIPT_CRC_H
|
|||
|
|
#define TK_FSCRIPT_CRC_H
|
|||
|
|
|
|||
|
|
#include "tkc/str.h"
|
|||
|
|
#include "tkc/object.h"
|
|||
|
|
|
|||
|
|
BEGIN_C_DECLS
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* @method fscript_crc_register
|
|||
|
|
* 注册crc16/crc32/cksum等函数。
|
|||
|
|
*
|
|||
|
|
* @return {ret_t} 返回RET_OK表示成功,否则表示失败。
|
|||
|
|
*/
|
|||
|
|
ret_t fscript_crc_register(void);
|
|||
|
|
|
|||
|
|
END_C_DECLS
|
|||
|
|
|
|||
|
|
#endif /*TK_FSCRIPT_CRC_H*/
|