Queue
Queue implementation in C
|
Defines the function prototypes and structures of the linked list. More...
#include <stdio.h>
#include <stdint.h>
#include <pthread.h>
Go to the source code of this file.
Data Structures | |
struct | queue_t |
Queue structure. More... | |
Typedefs | |
typedef uint8_t | queue_array_t |
Queue array typedef. | |
typedef struct queue_t | queue_t |
Queue typedef. | |
Functions | |
void | queue_init (queue_t *queue, queue_array_t *queueArray, uint16_t queueSize, uint8_t dataSize) |
uint8_t | queue_enqueue (queue_t *queue, const void *value) |
uint8_t | queue_dequeue (queue_t *queue, void *value) |
void | queue_print (queue_t *queue, void(*printFn)(const void *data), void *data) |
uint16_t | queue_count (queue_t *queue) |
Defines the function prototypes and structures of the linked list.
This is the header file for the definition of the queue structure and typedef as well as the function prototypes of the methods of the queue.