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

浏览源代码.

枚举

enum  log_reader_ret_t {
  LOG_READER_RET_OK , LOG_READER_RET_BUSY , LOG_READER_RET_ERROR , LOG_READER_RET_TIMEDOUT ,
  LOG_READER_RET_ERROR_OVERFLOW_ON_DISCARDING , LOG_READER_RET_THERE_IS_NO_NEXT_MESSAGE , LOG_READER_RET_ERROR_IN_PARAMS , LOG_READER_RET_ERROR_TRYING_TO_DISCARD_WHEN_EMPTY ,
  LOG_READER_RET_ERROR_CORRUPT_SHARED_MEMORY
}
 

函数

log_reader_ret_t log_buffer_reader_init (void)
 Initialize the log buffer reader module
 
log_reader_ret_t log_buffer_reader_lock_next (log_memory_region_section_t *lmsec, const log_buffer_header_t *lb_header)
 Lock the next message in the log buffer and returns its parameters.
 
log_reader_ret_t log_buffer_reader_claim_next (log_memory_region_section_t lmsec, uint8_t **r1, uint32_t *len1, uint8_t **r2, uint32_t *len2)
 Claim the next message in the buffer.
 
log_reader_ret_t log_buffer_reader_discard (log_memory_region_section_t lmsec)
 Discard a previously claimed message
 
log_reader_ret_t log_buffer_get_used_space (log_memory_region_section_t lmsec, uint32_t *used_space)
 Get the used space in a log memory section.
 
void log_buffer_reader_error_recovery (log_memory_region_section_t lmsec)
 Recovery error log region.