LibJuno 0.1.0
LibJuno is a lightweight C99 library designed specifically for embedded systems.
|
#include "juno/table/table_api.h"
Go to the source code of this file.
Functions | |
JUNO_STATUS_T | Juno_TablePosixInit (JUNO_TABLE_MANAGER_T *ptTableManager, JUNO_TABLE_HDR_T *ptBuff, size_t zBuffSize, const char *pcTablePath, JUNO_FAILURE_HANDLER_T pfcnFailureHdlr, JUNO_USER_DATA_T *pvFailureUserData) |
JUNO_STATUS_T | Juno_TablePosixLoad (JUNO_TABLE_MANAGER_T *ptTableManager) |
JUNO_STATUS_T | Juno_TablePosixSave (JUNO_TABLE_MANAGER_T *ptTableManager) |
JUNO_STATUS_T | Juno_TablePosixSetBuffer (JUNO_TABLE_MANAGER_T *ptTableManager, JUNO_TABLE_HDR_T *ptBuff) |
const JUNO_TABLE_API_T * | Juno_TablePosixApi (void) |
const JUNO_TABLE_API_T * Juno_TablePosixApi | ( | void | ) |
Get the POSIX JUNO_TABLE_API_T
JUNO_TABLE_API_T
JUNO_STATUS_T Juno_TablePosixInit | ( | JUNO_TABLE_MANAGER_T * | ptTableManager, |
JUNO_TABLE_HDR_T * | ptBuff, | ||
size_t | zBuffSize, | ||
const char * | pcTablePath, | ||
JUNO_FAILURE_HANDLER_T | pfcnFailureHdlr, | ||
JUNO_USER_DATA_T * | pvFailureUserData | ||
) |
Initialize a Juno Table with a buffer
ptTable | The table manager to initialize |
ptMemoryApi | The memory api |
ptBuff | The table buffer |
zBuffSize | The table buffer size |
ptAlloc | The memory allocator |
pfcnFailureHdlr | The failure handler (can be null) |
pvFailureUserData | The failure handler user data (can be null) |
JUNO_STATUS_T
code JUNO_STATUS_T Juno_TablePosixLoad | ( | JUNO_TABLE_MANAGER_T * | ptTableManager | ) |
Load the table
ptTableManager | The Juno table manager to load |
JUNO_STATUS_T
code JUNO_STATUS_T Juno_TablePosixSave | ( | JUNO_TABLE_MANAGER_T * | ptTableManager | ) |
Save the table
ptTableManager | The Juno table manager to load |
JUNO_STATUS_T
code JUNO_STATUS_T Juno_TablePosixSetBuffer | ( | JUNO_TABLE_MANAGER_T * | ptTableManager, |
JUNO_TABLE_HDR_T * | ptBuff | ||
) |
Set the table manager to a new table buffer
ptTableManager | The Juno table manager to load |
ptBuff | The new table buffer |
zBuffSize | The table buffer size |
JUNO_STATUS_T
code