
Go to the source code of this file.
Functions | |
| OFC_CORE_LIB OFC_HANDLE | ofc_queue_create (OFC_VOID) |
| OFC_CORE_LIB OFC_VOID | ofc_queue_destroy (OFC_HANDLE qHead) |
| OFC_CORE_LIB OFC_VOID | ofc_enqueue (OFC_HANDLE qHead, OFC_VOID *qElement) |
| OFC_CORE_LIB OFC_VOID * | ofc_dequeue (OFC_HANDLE qHead) |
| OFC_CORE_LIB OFC_BOOL | ofc_queue_empty (OFC_HANDLE qHead) |
| OFC_CORE_LIB OFC_VOID * | ofc_queue_first (OFC_HANDLE qHead) |
| OFC_CORE_LIB OFC_VOID * | ofc_queue_next (OFC_HANDLE qHead, OFC_VOID *qElement) |
| OFC_CORE_LIB OFC_VOID | ofc_queue_unlink (OFC_HANDLE qHead, OFC_VOID *qElement) |
| OFC_CORE_LIB OFC_VOID | ofc_queue_clear (OFC_HANDLE qHandle) |
| OFC_CORE_LIB OFC_VOID* ofc_dequeue | ( | OFC_HANDLE | qHead | ) |
Remove an element from the front of the list
| qHead | Pointer to list header |
| OFC_CORE_LIB OFC_VOID ofc_enqueue | ( | OFC_HANDLE | qHead, |
| OFC_VOID * | qElement | ||
| ) |
Add an element to the end of the list
| qHead | Pointer to list header |
| qElement | Pointer to element to add to list |
| OFC_CORE_LIB OFC_VOID ofc_queue_clear | ( | OFC_HANDLE | qHandle | ) |
Clear the contents of a linked list
| qHandle | Handle to the linked list |
| OFC_CORE_LIB OFC_HANDLE ofc_queue_create | ( | OFC_VOID | ) |
Create a linked list
| OFC_CORE_LIB OFC_VOID ofc_queue_destroy | ( | OFC_HANDLE | qHead | ) |
| OFC_CORE_LIB OFC_BOOL ofc_queue_empty | ( | OFC_HANDLE | qHead | ) |
See if queue is empty
| qHead | Queue Head |
| OFC_CORE_LIB OFC_VOID* ofc_queue_first | ( | OFC_HANDLE | qHead | ) |
Return the head of the linked list
| qHead | Pointer to the head of the list |
| OFC_CORE_LIB OFC_VOID* ofc_queue_next | ( | OFC_HANDLE | qHead, |
| OFC_VOID * | qElement | ||
| ) |
Return the next element on the list
| qHead | Pointer to the head of the list |
| qElement | Pointer to the current element |
| OFC_CORE_LIB OFC_VOID ofc_queue_unlink | ( | OFC_HANDLE | qHead, |
| OFC_VOID * | qElement | ||
| ) |
Unlink the current element from the list
| qHead | Pointer to the head of the list |
| qElement | Pointer to the current element |