40#ifndef QSMP_CONNECTIONS_H
41#define QSMP_CONNECTIONS_H
void qsmp_connections_clear(void)
Clear all connection states in the collection.
Definition connections.c:72
void qsmp_connections_dispose(void)
Dispose of the QSMP connections collection.
Definition connections.c:83
qsmp_connection_state * qsmp_connections_add(void)
Add a new connection state to the collection and mark it as active.
Definition connections.c:31
void qsmp_connections_reset(uint32_t instance)
Reset a specific connection state in the collection.
Definition connections.c:207
bool qsmp_connections_full(void)
Check if the connections collection is full.
Definition connections.c:120
bool qsmp_connections_active(size_t index)
Determine if a connection state at the specified index is active.
Definition connections.c:17
size_t qsmp_connections_available(void)
Get the number of available (inactive) connection states in the collection.
Definition connections.c:55
void qsmp_connections_initialize(size_t count, size_t maximum)
Initialize the QSMP connections collection.
Definition connections.c:155
qsmp_connection_state * qsmp_connections_next(void)
Retrieve the next available (inactive) connection state from the collection.
Definition connections.c:181
void qsmp_connections_self_test(void)
Run the self-test routine for the connections collection.
Definition connections.c:226
qsmp_connection_state * qsmp_connections_get(uint32_t instance)
Retrieve a connection state by its unique instance number.
Definition connections.c:138
size_t qsmp_connections_size(void)
Get the total number of connection state items in the collection.
Definition connections.c:221
qsmp_connection_state * qsmp_connections_index(size_t index)
Retrieve a connection state pointer by its collection index.
Definition connections.c:106
QSMP support header Common defined parameters and functions of the qsmp client and server implementat...
The QSMP socket connection state structure.
Definition qsmp.h:1002