FreeRDP
LinkedList.c File Reference

Functions

int LinkedList_Count (wLinkedList *list)
 
voidLinkedList_First (wLinkedList *list)
 
voidLinkedList_Last (wLinkedList *list)
 
BOOL LinkedList_Contains (wLinkedList *list, void *value)
 
static wLinkedListNode * LinkedList_FreeNode (wLinkedList *list, wLinkedListNode *node)
 
void LinkedList_Clear (wLinkedList *list)
 
static wLinkedListNode * LinkedList_Create (wLinkedList *list, void *value)
 
BOOL LinkedList_AddFirst (wLinkedList *list, void *value)
 
BOOL LinkedList_AddLast (wLinkedList *list, void *value)
 
BOOL LinkedList_Remove (wLinkedList *list, void *value)
 
void LinkedList_RemoveFirst (wLinkedList *list)
 
void LinkedList_RemoveLast (wLinkedList *list)
 
void LinkedList_Enumerator_Reset (wLinkedList *list)
 
voidLinkedList_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)
 

Function Documentation

static BOOL default_equal_function ( const void objA,
const void objB 
)
static

Here is the caller graph for this function:

BOOL LinkedList_AddFirst ( wLinkedList *  list,
void value 
)

Adds a new node containing the specified value at the start of the LinkedList.

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LinkedList_AddLast ( wLinkedList *  list,
void value 
)

Adds a new node containing the specified value at the end of the LinkedList.

Here is the call graph for this function:

Here is the caller graph for this function:

void LinkedList_Clear ( wLinkedList *  list)

Removes all entries from the LinkedList.

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LinkedList_Contains ( wLinkedList *  list,
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.

Here is the caller graph for this function:

static wLinkedListNode* LinkedList_Create ( wLinkedList *  list,
void value 
)
static

Here is the caller graph for this function:

void* LinkedList_Enumerator_Current ( wLinkedList *  list)

Here is the caller graph for this function:

BOOL LinkedList_Enumerator_MoveNext ( wLinkedList *  list)

Here is the caller graph for this function:

void LinkedList_Enumerator_Reset ( wLinkedList *  list)

Sets the enumerator to its initial position, which is before the first element in the collection.

Here is the caller graph for this function:

void* LinkedList_First ( wLinkedList *  list)

Gets the first node of the LinkedList.

Here is the caller graph for this function:

void LinkedList_Free ( wLinkedList *  list)

Here is the call graph for this function:

Here is the caller graph for this function:

static wLinkedListNode* LinkedList_FreeNode ( wLinkedList *  list,
wLinkedListNode *  node 
)
static

Here is the caller graph for this function:

void* LinkedList_Last ( wLinkedList *  list)

Gets the last node of the LinkedList.

Here is the caller graph for this function:

wLinkedList* LinkedList_New ( void  )

Construction, Destruction

Here is the call graph for this function:

Here is the caller graph for this function:

wObject* LinkedList_Object ( wLinkedList *  list)
BOOL LinkedList_Remove ( wLinkedList *  list,
void value 
)

Removes the first occurrence of the specified value from the LinkedList.

Here is the call graph for this function:

Here is the caller graph for this function:

void LinkedList_RemoveFirst ( wLinkedList *  list)

Removes the node at the start of the LinkedList.

Here is the call graph for this function:

Here is the caller graph for this function:

void LinkedList_RemoveLast ( wLinkedList *  list)

Removes the node at the end of the LinkedList.

Here is the call graph for this function:

Here is the caller graph for this function: