/**
* @file
- * List class.
+ * Linked list module.
*/
#ifndef CCUNITLIST_H
#define CCUNITLIST_H
#if STDC_HEADERS
#include <stdlib.h>
#endif
-#include <stdbool.h>
+
+/**
+ * @defgroup CCUnitList List
+ * Linked list container.
+ * @{
+ */
/**
* list container.
} CCUnitList;
/**
- * list iterator.
- */
-typedef struct CCUnitListIterator
-{
- struct CCUnitListCell* current; /**< current list cell */
- bool isAllocated; /**< flag ob allocated object */
-} CCUnitListIterator;
-
-/**
* Create new list object.
* @return new list object.
*/
extern void ccunit_deleteList (CCUnitList* list, void (*deleteContents)(void*));
/**
+ * @defgroup CCUnitListIterator ListIterator
+ * List iterator
+ * @{
+ */
+
+/**
+ * list iterator.
+ */
+typedef struct CCUnitListIterator
+{
+ struct CCUnitListCell* current; /**< current list cell */
+ bool isAllocated; /**< flag ob allocated object */
+} CCUnitListIterator;
+
+/**
* create new list iterator.
*
* @param list An owner list of iterator.
*/
extern bool ccunit_hasNextListIterator (struct CCUnitListIterator* it);
+/** @}
+ * end group CCUnitListIterator
+ */
+
+/** @}
+ * end group CCUnitList
+ */
+
#endif