176 #ifndef LEGATO_SINGLY_LINKED_LIST_INCLUDE_GUARD
177 #define LEGATO_SINGLY_LINKED_LIST_INCLUDE_GUARD
190 typedef struct le_sls_Link
218 #define LE_SLS_LIST_INIT (le_sls_List_t){NULL}
227 #define LE_SLS_LINK_INIT (le_sls_Link_t){NULL}
398 #endif // LEGATO_SINGLY_LINKED_LIST_INCLUDE_GUARD
void le_sls_Queue(le_sls_List_t *listPtr, le_sls_Link_t *newLinkPtr)
static bool le_sls_IsEmpty(const le_sls_List_t *listPtr)
Definition: le_singlyLinkedList.h:344
bool le_sls_IsInList(const le_sls_List_t *listPtr, const le_sls_Link_t *linkPtr)
Definition: le_singlyLinkedList.h:190
le_sls_Link_t * le_sls_RemoveAfter(le_sls_List_t *listPtr, le_sls_Link_t *currentLinkPtr)
le_sls_Link_t * le_sls_PeekNext(const le_sls_List_t *listPtr, const le_sls_Link_t *currentLinkPtr)
le_sls_Link_t * le_sls_Peek(const le_sls_List_t *listPtr)
le_sls_Link_t * le_sls_Pop(le_sls_List_t *listPtr)
void le_sls_AddAfter(le_sls_List_t *listPtr, le_sls_Link_t *currentLinkPtr, le_sls_Link_t *newLinkPtr)
bool le_sls_IsListCorrupted(const le_sls_List_t *listPtr)
struct le_sls_Link * nextPtr
Next link pointer.
Definition: le_singlyLinkedList.h:192
le_sls_Link_t * tailLinkPtr
Tail link pointer.
Definition: le_singlyLinkedList.h:207
size_t le_sls_NumLinks(const le_sls_List_t *listPtr)
Definition: le_singlyLinkedList.h:205
void le_sls_Stack(le_sls_List_t *listPtr, le_sls_Link_t *newLinkPtr)