170 #ifndef LEGATO_SINGLY_LINKED_LIST_INCLUDE_GUARD 171 #define LEGATO_SINGLY_LINKED_LIST_INCLUDE_GUARD 184 typedef struct le_sls_Link
212 #define LE_SLS_LIST_INIT (le_sls_List_t){NULL} 221 #define LE_SLS_LINK_INIT (le_sls_Link_t){NULL} 445 #endif // LEGATO_SINGLY_LINKED_LIST_INCLUDE_GUARD static bool le_sls_IsHead(const le_sls_List_t *listPtr, const le_sls_Link_t *linkPtr)
Definition: le_singlyLinkedList.h:388
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:353
bool le_sls_IsInList(const le_sls_List_t *listPtr, const le_sls_Link_t *linkPtr)
Definition: le_singlyLinkedList.h:184
static bool le_sls_IsTail(const le_sls_List_t *listPtr, const le_sls_Link_t *linkPtr)
Definition: le_singlyLinkedList.h:407
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:186
le_sls_Link_t * tailLinkPtr
Tail link pointer.
Definition: le_singlyLinkedList.h:201
le_sls_Link_t * le_sls_PeekTail(const le_sls_List_t *listPtr)
size_t le_sls_NumLinks(const le_sls_List_t *listPtr)
Definition: le_singlyLinkedList.h:199
void le_sls_Stack(le_sls_List_t *listPtr, le_sls_Link_t *newLinkPtr)