|
LibJuno 1.0.4
LibJuno is a lightweight C11 library designed specifically for embedded systems.
|
Pointer API and array API implementations for UDP_THREAD_MSG_T. More...
#include "udp_msg_api.h"#include "juno/macros.h"#include "juno/memory/pointer_api.h"#include <string.h>#include <stdalign.h>
Functions | |
| static JUNO_POINTER_T | MakeMsgPointer (UDP_THREAD_MSG_T *ptMsg) |
| Build a JUNO_POINTER_T for a UDP_THREAD_MSG_T slot. | |
| static JUNO_STATUS_T | UdpThreadMsg_Copy (JUNO_POINTER_T tDest, const JUNO_POINTER_T tSrc) |
| static JUNO_STATUS_T | UdpThreadMsg_Reset (JUNO_POINTER_T tPointer) |
| static JUNO_STATUS_T | UdpThreadMsgArray_SetAt (JUNO_DS_ARRAY_ROOT_T *ptArray, JUNO_POINTER_T tItem, size_t iIndex) |
| static JUNO_RESULT_POINTER_T | UdpThreadMsgArray_GetAt (JUNO_DS_ARRAY_ROOT_T *ptArray, size_t iIndex) |
| static JUNO_STATUS_T | UdpThreadMsgArray_RemoveAt (JUNO_DS_ARRAY_ROOT_T *ptArray, size_t iIndex) |
Variables | |
| const JUNO_POINTER_API_T | g_udpThreadMsgPointerApi |
| Pointer API for UDP_THREAD_MSG_T — used with JunoMemory_PointerInit. | |
| const JUNO_DS_ARRAY_API_T | g_udpThreadMsgArrayApi |
| Array API for UDPTH_MSG_ARRAY_T — used with JunoDs_ArrayInit. | |
Pointer API and array API implementations for UDP_THREAD_MSG_T.
Provides g_udpThreadMsgPointerApi (Copy/Reset for UDP_THREAD_MSG_T) and g_udpThreadMsgArrayApi (SetAt/GetAt/RemoveAt over UDPTH_MSG_ARRAY_T backing storage). These globals are injected into pipe queues and the software bus.
|
static |
Build a JUNO_POINTER_T for a UDP_THREAD_MSG_T slot.
Avoids the C99 compound-literal syntax used by JunoMemory_PointerInit so that this translation unit compiles cleanly as C++11.
| ptMsg | Address of the UDP_THREAD_MSG_T instance. |
|
static |
|
static |
|
static |
|
static |
|
static |
| const JUNO_DS_ARRAY_API_T g_udpThreadMsgArrayApi |
Array API for UDPTH_MSG_ARRAY_T — used with JunoDs_ArrayInit.
| const JUNO_POINTER_API_T g_udpThreadMsgPointerApi |
Pointer API for UDP_THREAD_MSG_T — used with JunoMemory_PointerInit.