Jump to main content

# 1.2.12.4.15 SRV_QUEUE Struct

## C

    typedef struct
    {
        /* Pointer to the head of the queue */
        SRV_QUEUE_ELEMENT *head;

        /* Pointer to the tail of the queue */
        SRV_QUEUE_ELEMENT *tail;

        /* Queue capacity */
        uint16_t capacity;

        /* Queue size */
        uint16_t size;

        /* Queue mode (single or priority queue) */
        SRV_QUEUE_TYPE type;
    } SRV_QUEUE;

## Summary

Queue data.

## Description

This structure contains the common data stored in a queue.

Rev: G