|
INSEE 05.04.2011
Interconnection Nertworks Simulation and Evaluation Environment
|
Definitions for the double linked dinamic list. Used by Execution driven simulation module. More...

Go to the source code of this file.
Data Structures | |
| struct | _ListElement |
| struct | _List |
Typedefs | |
| typedef struct _ListElement | listElement |
| typedef struct _List | list |
Functions | |
| void | DestroyListElement (listElement *) |
| listElement * | CreateListElement (void *) |
| listElement * | AddBeforeElement (listElement *, void *) |
| listElement * | AddAfterElement (listElement *, void *) |
| void | DestroyList (list **) |
| list * | CreateVoidList () |
| void | AddFirst (list *, void *) |
| void | AddLast (list *, void *) |
| void * | StartLoop (list *) |
| void * | GetNext (list *) |
| int | IsInList (list *, void *) |
| int | ElementsInList (list *) |
| void | RemoveFromList (list *, void *) |
| void | PrintList (list *thisList) |
Definitions for the double linked dinamic list. Used by Execution driven simulation module.
| listElement* AddAfterElement | ( | listElement * | thisElement, |
| void * | dataPointer | ||
| ) |
Adds an element after another one.
| thisElement | The element to insert after. |
| dataPointer | The data of the element to insert. |
| listElement* AddBeforeElement | ( | listElement * | thisElement, |
| void * | dataPointer | ||
| ) |
Adds an element before another one.
| thisElement | The element to insert before. |
| dataPointer | The data of the element to insert. |
| void AddFirst | ( | list * | thisList, |
| void * | pointer | ||
| ) |
Add an element at the begining of a list.
| thisList | The list to insert into. |
| pointer | The data of the element to insert. |
| void AddLast | ( | list * | thisList, |
| void * | pointer | ||
| ) |
Add an element at the end of a list.
| thisList | The list to insert into. |
| pointer | The data of the element to insert. |
| listElement* CreateListElement | ( | void * | dataPointer | ) |
Create a element to be inserted in the list.
| dataPointer | A pointer to the element data. |
| list* CreateVoidList | ( | ) |
Creates an empty list.
| void DestroyList | ( | list ** | theList | ) |
Destroy a list.
| theList | The lñist to destroy. |
| void DestroyListElement | ( | listElement * | thisElement | ) |
Destroy an element.
| thisElement | The element to destroy. |
| int ElementsInList | ( | list * | thisList | ) |
Number of elements in the list.
| thisList | The list to look in. |
| void* GetNext | ( | list * | thisList | ) |
Get an element of a list.
| thisList | The list to get the next element. |
| int IsInList | ( | list * | thisList, |
| void * | dataPointer | ||
| ) |
Assert if data is in the list.
| thisList | The list to look in. |
| dataPointer | The data to look for. |
| void PrintList | ( | list * | thisList | ) |
Print the list.
| thisList | The list to print. |
| void RemoveFromList | ( | list * | thisList, |
| void * | dataPointer | ||
| ) |
Remove some data from a list.
| thisList | The list to look in. |
| dataPointer | The data to remove. |
| void* StartLoop | ( | list * | thisList | ) |
Start a loop in a list
| thisList | The list to loop into. |
1.7.4