#include "platform.h"
#include "common_utils.h"
Go to the source code of this file.
Data Structures | |
struct | linkList_s |
Defines | |
#define | linkList_GetNextElement(x) ( (x) && ((x) = (x)->next) ? (x)->element : NULL ) |
Typedefs | |
typedef struct linkList_s | linkList_t |
Functions | |
linkList_t * | linkList_new (void) |
Create a new link list. | |
wtBoolean | linkList_delete (linkList_t *list) |
Delete link list. | |
wtBoolean | linkList_deleteFull (linkList_t *list) |
Delete link list and elements. | |
wtBoolean | linkList_add (linkList_t *list, void *newElement) |
Add element to link list. | |
wtBoolean | linkList_append (linkList_t *list, void *newElement) |
Add element to the end of the link list. | |
linkList_t * | linkList_addList (linkList_t *list, void *newElement) |
Add element to link list. | |
linkList_t * | linkList_appendList (linkList_t *list, void *newElement) |
Add element to end of link list. | |
wtBoolean | linkList_removeNode (linkList_t *current, void *element) |
Remove node based on element. | |
wtBoolean | linkList_quickRemoveNode (linkList_t *current, linkList_t *previous) |
Remove node. | |
W32 | linkList_count (linkList_t *list) |
Counts the numer of elements in link list. |
wtBoolean linkList_add | ( | linkList_t * | list, | |
void * | newElement | |||
) |
Add element to link list.
[in] | list | Pointer to linkList_t structure. |
[in] | newElement | Element to add to link list. |
linkList_t* linkList_addList | ( | linkList_t * | list, | |
void * | newElement | |||
) |
Add element to link list.
[in] | list | Pointer to linkList_t structure. |
[in] | newElement | Element to add to link list. |
wtBoolean linkList_append | ( | linkList_t * | list, | |
void * | newElement | |||
) |
Add element to the end of the link list.
[in] | list | Pointer to linkList_t structure. |
[in] | newElement | Element to add to link list. |
linkList_t* linkList_appendList | ( | linkList_t * | list, | |
void * | newElement | |||
) |
Add element to end of link list.
[in] | list | Pointer to linkList_t structure. |
[in] | newElement | Element to add to link list. |
W32 linkList_count | ( | linkList_t * | list | ) |
Counts the numer of elements in link list.
[in] | list | Pointer to linkList_t structure. |
wtBoolean linkList_delete | ( | linkList_t * | list | ) |
Delete link list.
[in] | list | Pointer to linkList_t structure. |
wtBoolean linkList_deleteFull | ( | linkList_t * | list | ) |
Delete link list and elements.
[in] | list | Pointer to linkList_t structure. |
linkList_t* linkList_new | ( | void | ) |
Create a new link list.
wtBoolean linkList_quickRemoveNode | ( | linkList_t * | current, | |
linkList_t * | previous | |||
) |
Remove node.
[in] | current | Node to remove. |
[in] | previous | Previous Node in chain. |
wtBoolean linkList_removeNode | ( | linkList_t * | current, | |
void * | element | |||
) |
Remove node based on element.
[in] | list | Pointer to linkList_t structure. |
[in] | element | Pointer to element of node to remove. |