1.2.12.4 Library Interface
The SE Queue service library provides the following interfaces:
Functions
Name | Description |
---|---|
SRV_QUEUE_Init | Initializes the given queue |
SRV_QUEUE_Append | Appends an element into a queue |
SRV_QUEUE_Append_With_Priority | Appends an element into a priority queue |
SRV_QUEUE_Insert_Before | Inserts an element into a queue before a given element |
SRV_QUEUE_Insert_After | Inserts an element into a queue after a given element |
SRV_QUEUE_Read_Or_Remove | Reads or removes an element from a queue |
SRV_QUEUE_Read_Element | Reads an element from a queue at the given index |
SRV_QUEUE_Remove_Element | Removes the given element from a queue |
SRV_QUEUE_Flush | Flushes the given queue |
SRV_QUEUE_Set_Capacity | Modifies the total capacity of a queue |
Data types and constants
Name | Type | Description |
---|---|---|
SRV_QUEUE_TYPE | Enum | List of possible queue types |
SRV_QUEUE_MODE | Enum | List of possible queue access modes |
SRV_QUEUE_POSITION | Enum | List of possible queue positions |
SRV_QUEUE_ELEMENT | Struct | Contains the data stored in each queue element |
SRV_QUEUE | Struct | Contains the common data stored in a queue |