167 #ifndef LEGATO_SINGLY_LINKED_LIST_INCLUDE_GUARD
168 #define LEGATO_SINGLY_LINKED_LIST_INCLUDE_GUARD
181 typedef struct le_sls_Link
209 #define LE_SLS_LIST_INIT (le_sls_List_t){NULL}
218 #define LE_SLS_LINK_INIT (le_sls_Link_t){NULL}
389 #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:335
bool le_sls_IsInList(const le_sls_List_t *listPtr, const le_sls_Link_t *linkPtr)
Definition: le_singlyLinkedList.h:181
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:183
le_sls_Link_t * tailLinkPtr
Tail link pointer.
Definition: le_singlyLinkedList.h:198
size_t le_sls_NumLinks(const le_sls_List_t *listPtr)
Definition: le_singlyLinkedList.h:196
void le_sls_Stack(le_sls_List_t *listPtr, le_sls_Link_t *newLinkPtr)