41#ifndef __OPENLCB_OPENLCB_BUFFER_FIFO__
42#define __OPENLCB_OPENLCB_BUFFER_FIFO__
openlcb_msg_t * OpenLcbBufferFifo_pop(void)
Removes and returns the oldest message from the FIFO.
Definition openlcb_buffer_fifo.c:130
openlcb_msg_t * OpenLcbBufferFifo_push_to_head(openlcb_msg_t *new_msg)
Inserts a message pointer at the head of the FIFO.
Definition openlcb_buffer_fifo.c:220
void OpenLcbBufferFifo_check_and_invalidate_messages_by_source_alias(uint16_t alias)
Marks all queued incoming messages from a released alias as invalid.
Definition openlcb_buffer_fifo.c:175
openlcb_msg_t * OpenLcbBufferFifo_push(openlcb_msg_t *new_msg)
Adds a message pointer to the tail of the FIFO.
Definition openlcb_buffer_fifo.c:98
uint16_t OpenLcbBufferFifo_get_allocated_count(void)
Returns the number of messages currently held in the FIFO.
Definition openlcb_buffer_fifo.c:240
void OpenLcbBufferFifo_initialize(void)
Initializes the FIFO to an empty state.
Definition openlcb_buffer_fifo.c:71
bool OpenLcbBufferFifo_is_empty(void)
Returns true if the FIFO contains no messages.
Definition openlcb_buffer_fifo.c:153
Core type definitions, structures, and configuration constants for the OpenLCB library.
Core OpenLCB message structure.
Definition openlcb_types.h:480