Claude Chappe' Curse - A C Game
Logo Institut d'Informatique Claude Chappe Logo Université de Le Mans Logo Raeptor Production
 
Loading...
Searching...
No Matches
queue.h File Reference

Queue data structure and related operations. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Queue
 A node in the queue. More...
 

Functions

bool queue_is_empty (Queue *queue)
 Checks if the queue is empty.
 
void queue_push (Queue *queue, void *data)
 Pushes data onto the queue.
 
void * queue_pop (Queue *queue)
 Pops data from the queue.
 
void queue_free (Queue *queue)
 Frees the queue.
 

Detailed Description

Queue data structure and related operations.

This file contains the definition of a simple queue data structure and functions to manipulate it. The queue is implemented as a singly linked list.