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

Data Structures | Typedefs | Functions

# CCUnitList.c File Reference

Linked list module implementation. More...

`#include <ccunit/CCUnitList.h>`
Include dependency graph for CCUnitList.c:

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

## Detailed Description

Linked list module implementation.

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