|
LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
|
#include "juno/ds/queue_api.h"#include "juno/macros.h"#include "juno/memory/pointer_api.h"#include "juno/sb/broker_api.h"#include "juno/status.h"
Functions | |
| static JUNO_STATUS_T | Publish (JUNO_SB_BROKER_ROOT_T *ptBroker, JUNO_SB_MID_T tMid, JUNO_POINTER_T tMsg) |
| Publish the SB message with message id. | |
| static JUNO_STATUS_T | RegisterSubscriber (JUNO_SB_BROKER_ROOT_T *ptBroker, JUNO_SB_PIPE_T *ptPipe) |
| Register a subscriber to a sb message. | |
| JUNO_STATUS_T | JunoSb_BrokerInit (JUNO_SB_BROKER_ROOT_T *ptBroker, JUNO_SB_PIPE_T **ptPipeRegistry, size_t iRegistryCapacity, JUNO_FAILURE_HANDLER_T pfcnFailureHdlr, JUNO_USER_DATA_T *pvFailureUserData) |
| Initialize a broker with a pipe registry storage array. | |
Variables | |
| static const JUNO_SB_BROKER_API_T | gtBrokerApi |
| JUNO_STATUS_T JunoSb_BrokerInit | ( | JUNO_SB_BROKER_ROOT_T * | ptBroker, |
| JUNO_SB_PIPE_T ** | ptPipeRegistry, | ||
| size_t | iRegistryCapacity, | ||
| JUNO_FAILURE_HANDLER_T | pfcnFailureHdlr, | ||
| JUNO_USER_DATA_T * | pvFailureUserData | ||
| ) |
Initialize a broker with a pipe registry storage array.
|
static |
Publish the SB message with message id.
|
static |
Register a subscriber to a sb message.
|
static |