[ CCUnit project page ] |  | [ CCUnit home page ]

Data Structures | Typedefs | Functions

# CCUnitList.h File Reference

Linked list module. More...

`#include <ccunit/CCUnitConfig.h>`
Include dependency graph for CCUnitList.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Data Structures
struct | CCUnitList
| list container. More...
struct | CCUnitListIterator
| list iterator. More...
## Typedefs
typedef struct CCUnitList | CCUnitList
| list container.
typedef struct CCUnitListIterator | CCUnitListIterator
| list iterator.
## Functions
CCUnitList * | ccunit_newList ()
| Create new list object.
void | ccunit_addList (CCUnitList *list, void *contents)
| Add element to list object.
CCUnitList * | ccunit_initList (CCUnitList *list)
| Initialize list object.
void | ccunit_deleteList (CCUnitList *list, void(*deleteContents)(void *))
| Delete list object.
CCUnitListIterator * | ccunit_newListIterator (const struct CCUnitList *list)
| create new list iterator.
CCUnitListIterator * | ccunit_initListIterator (const struct CCUnitList *list, struct CCUnitListIterator *it)
| initialize list iterator.
void | ccunit_deleteListIterator (struct CCUnitListIterator *it)
| delete list iterator.
void * | ccunit_nextListIterator (struct CCUnitListIterator *it)
| Get next element.
bool | ccunit_hasNextListIterator (struct CCUnitListIterator *it)
| Check is there next element of iterator.

## Detailed Description

Linked list module.

| hosts this site. |  | Send comments to: CCUnit Developer |