32#ifndef CDI_SINGLY_LINKEDLIST_API_H__
33#define CDI_SINGLY_LINKEDLIST_API_H__
static bool CdiSinglyLinkedListIsEmpty(const CdiSinglyLinkedList *list_ptr)
Definition singly_linked_list_api.h:156
static void CdiSinglyLinkedListPushTail(CdiSinglyLinkedList *list_ptr, CdiSinglyLinkedListEntry *new_entry_ptr)
Definition singly_linked_list_api.h:109
static int CdiSinglyLinkedListSize(const CdiSinglyLinkedList *list_ptr)
Definition singly_linked_list_api.h:168
static CdiSinglyLinkedListEntry * CdiSinglyLinkedListGetHead(const CdiSinglyLinkedList *list_ptr)
Definition singly_linked_list_api.h:180
static CdiSinglyLinkedListEntry * CdiSinglyLinkedListNextEntry(const CdiSinglyLinkedListEntry *entry_ptr)
Definition singly_linked_list_api.h:192
static CdiSinglyLinkedListEntry * CdiSinglyLinkedListPopHead(CdiSinglyLinkedList *list_ptr)
Definition singly_linked_list_api.h:130
static void CdiSinglyLinkedListPushHead(CdiSinglyLinkedList *list_ptr, CdiSinglyLinkedListEntry *new_entry_ptr)
Definition singly_linked_list_api.h:92
static void CdiSinglyLinkedListInit(CdiSinglyLinkedList *list_ptr)
Definition singly_linked_list_api.h:79
This structure represents a single list entry.
Definition singly_linked_list_api.h:49
struct CdiSinglyLinkedListEntry * next_ptr
Pointer to next item in list, NULL if this is the tail entry.
Definition singly_linked_list_api.h:50
This structure represents a list.
Definition singly_linked_list_api.h:56
CdiSinglyLinkedListEntry * tail_ptr
Tail entry of list item. NULL valid if the list is empty.
Definition singly_linked_list_api.h:58
int num_entries
Number of entries currently in this list.
Definition singly_linked_list_api.h:59
CdiSinglyLinkedListEntry * head_ptr
Head entry of list item. NULL valid if the list is empty.
Definition singly_linked_list_api.h:57