FreeRDP
|
Functions | |
int | LinkedList_Count (wLinkedList *list) |
void * | LinkedList_First (wLinkedList *list) |
void * | LinkedList_Last (wLinkedList *list) |
BOOL | LinkedList_Contains (wLinkedList *list, const void *value) |
static wLinkedListNode * | LinkedList_FreeNode (wLinkedList *list, wLinkedListNode *node) |
void | LinkedList_Clear (wLinkedList *list) |
static wLinkedListNode * | LinkedList_Create (wLinkedList *list, const void *value) |
BOOL | LinkedList_AddFirst (wLinkedList *list, const void *value) |
BOOL | LinkedList_AddLast (wLinkedList *list, const void *value) |
BOOL | LinkedList_Remove (wLinkedList *list, const void *value) |
void | LinkedList_RemoveFirst (wLinkedList *list) |
void | LinkedList_RemoveLast (wLinkedList *list) |
void | LinkedList_Enumerator_Reset (wLinkedList *list) |
void * | LinkedList_Enumerator_Current (wLinkedList *list) |
BOOL | LinkedList_Enumerator_MoveNext (wLinkedList *list) |
static BOOL | default_equal_function (const void *objA, const void *objB) |
wLinkedList * | LinkedList_New (void) |
void | LinkedList_Free (wLinkedList *list) |
wObject * | LinkedList_Object (wLinkedList *list) |
|
static |
BOOL LinkedList_AddFirst | ( | wLinkedList * | list, |
const void * | value | ||
) |
Adds a new node containing the specified value at the start of the LinkedList.
BOOL LinkedList_AddLast | ( | wLinkedList * | list, |
const void * | value | ||
) |
Adds a new node containing the specified value at the end of the LinkedList.
void LinkedList_Clear | ( | wLinkedList * | list | ) |
Removes all entries from the LinkedList.
BOOL LinkedList_Contains | ( | wLinkedList * | list, |
const void * | value | ||
) |
Methods Determines whether the LinkedList contains a specific value.
int LinkedList_Count | ( | wLinkedList * | list | ) |
C equivalent of the C# LinkedList<T> Class: http://msdn.microsoft.com/en-us/library/he2s3bh7.aspx
Internal implementation uses a doubly-linked list Properties Gets the number of nodes actually contained in the LinkedList.
|
static |
void* LinkedList_Enumerator_Current | ( | wLinkedList * | list | ) |
BOOL LinkedList_Enumerator_MoveNext | ( | wLinkedList * | list | ) |
void LinkedList_Enumerator_Reset | ( | wLinkedList * | list | ) |
Sets the enumerator to its initial position, which is before the first element in the collection.
void* LinkedList_First | ( | wLinkedList * | list | ) |
Gets the first node of the LinkedList.
void LinkedList_Free | ( | wLinkedList * | list | ) |
|
static |
void* LinkedList_Last | ( | wLinkedList * | list | ) |
Gets the last node of the LinkedList.
wLinkedList* LinkedList_New | ( | void | ) |
Construction, Destruction
wObject* LinkedList_Object | ( | wLinkedList * | list | ) |
BOOL LinkedList_Remove | ( | wLinkedList * | list, |
const void * | value | ||
) |
Removes the first occurrence of the specified value from the LinkedList.
void LinkedList_RemoveFirst | ( | wLinkedList * | list | ) |
Removes the node at the start of the LinkedList.
void LinkedList_RemoveLast | ( | wLinkedList * | list | ) |
Removes the node at the end of the LinkedList.