Log file specific macros. More...

Macros

#define GOS_LOG_FILE_RECORD_VALID_FLAG 0x8000
Flag in a log record indicating if the log record data is valid.
#define GOS_LOG_FILE_IS_VALID (header)   (~(( gos_log_file_header_t )header) & GOS_LOG_FILE_RECORD_VALID_FLAG )
Helper to test if a log record is valid.
#define GOS_LOG_FILE_GET_LENGTH (header)   ((( gos_log_file_header_t )header) & ~ GOS_LOG_FILE_RECORD_VALID_FLAG )
Helper to return the length of a log record.
#define GOS_LOG_FILE_GET_NEXT -1
Used with gos_file_read_log() to read the next available log record.

Detailed Description

Log file specific macros.