WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
log_file.h 文件参考
#include <stdint.h>
#include "errcode.h"
#include "dfx_feature_config.h"
log_file.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

结构体

struct  store_file_head_t
 
struct  store_file_cfg_t
 

枚举

enum  store_service_t { STORE_DIAG , STORE_DUMP , STORE_DOTTING , STORE_MAX }
 

函数

errcode_t uapi_logfile_init (void)
 
errcode_t uapi_logfile_open (store_service_t service_type, const store_file_cfg_t *cfg)
 
errcode_t uapi_logfile_write (store_service_t service_type, uint8_t sub_type, uint8_t *data, uint32_t data_len)
 
errcode_t uapi_logfile_close (store_service_t service_type)
 
errcode_t uapi_logfile_fsync (store_service_t service_type)
 
errcode_t uapi_logfile_suspend (store_service_t service_type)
 
errcode_t uapi_logfile_resume (store_service_t service_type)
 
errcode_t uapi_logfile_reset (store_service_t service_type, store_file_cfg_t *cfg)
 

枚举类型说明

◆ store_service_t

枚举值
STORE_DIAG 
STORE_DUMP 
STORE_DOTTING 
STORE_MAX 

函数说明

◆ uapi_logfile_close()

errcode_t uapi_logfile_close ( store_service_t  service_type)

◆ uapi_logfile_fsync()

errcode_t uapi_logfile_fsync ( store_service_t  service_type)

◆ uapi_logfile_init()

errcode_t uapi_logfile_init ( void  )

◆ uapi_logfile_open()

errcode_t uapi_logfile_open ( store_service_t  service_type,
const store_file_cfg_t cfg 
)

◆ uapi_logfile_reset()

errcode_t uapi_logfile_reset ( store_service_t  service_type,
store_file_cfg_t cfg 
)

◆ uapi_logfile_resume()

errcode_t uapi_logfile_resume ( store_service_t  service_type)

◆ uapi_logfile_suspend()

errcode_t uapi_logfile_suspend ( store_service_t  service_type)

◆ uapi_logfile_write()

errcode_t uapi_logfile_write ( store_service_t  service_type,
uint8_t  sub_type,
uint8_t *  data,
uint32_t  data_len 
)