queue struct defn
More...
#include <queue.h>
queue struct defn
Definition at line 17 of file queue.h.
◆ count
Total elems present in queue.
Definition at line 21 of file queue.h.
◆ data
Ptr to link List or array based on type of queue.
Definition at line 27 of file queue.h.
◆ deq
routine to pop elements out of queue
Definition at line 30 of file queue.h.
◆ destroy
routine to detroy queue instance
routines for operating on data
Definition at line 36 of file queue.h.
◆ empty
routine to check if queue empty
Definition at line 34 of file queue.h.
◆ enq
routine to push elements to queue
Definition at line 29 of file queue.h.
◆ free
◆ front
Queue Front Pointer.
Definition at line 22 of file queue.h.
◆ full
routine to check if queue full
Definition at line 33 of file queue.h.
◆ len
routine to get length queue
Definition at line 31 of file queue.h.
◆ max_size
Max Size of queue.
Definition at line 20 of file queue.h.
◆ name
Stack instance name.
Definition at line 19 of file queue.h.
◆ peek
routine to peek node in queue
Definition at line 32 of file queue.h.
◆ print
routine to print queue elements
Definition at line 35 of file queue.h.
◆ print_data
◆ rear
Queue Rear Pointer.
Definition at line 23 of file queue.h.
◆ type
Stack Type.
- See also
- types of queue
Definition at line 24 of file queue.h.
The documentation for this struct was generated from the following file: