71#define QSMP_LOGGING_MESSAGE_MAX 256
79static const char QSMP_LOGGER_PATH[] =
"QSMP";
87static const char QSMP_LOGGER_FILE[] =
"qsmp.log";
95static const char QSMP_LOGGER_HEAD[] =
"QSMP Version 1.1a";
void qsmp_logger_read(char *output, size_t otplen)
Read the QSMP log file into a provided buffer.
Definition logger.c:100
void qsmp_logger_print(void)
Print the contents of the QSMP log file.
Definition logger.c:75
bool qsmp_logger_test(void)
Run a manual test of the QSMP logger functions.
Definition logger.c:173
bool qsmp_logger_write(const char *message)
Write a message to the QSMP log file.
Definition logger.c:147
void qsmp_logger_initialize(const char *path)
Initialize the QSMP logger.
Definition logger.c:33
bool qsmp_logger_exists(void)
Check if the QSMP log file exists.
Definition logger.c:61
size_t qsmp_logger_size(void)
Get the current size of the QSMP log file.
Definition logger.c:133
void qsmp_logger_reset(void)
Reset the QSMP log.
Definition logger.c:112