aboutsummaryrefslogtreecommitdiffstats
path: root/src/manager/lib/enumerator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/manager/lib/enumerator.h')
-rw-r--r--src/manager/lib/enumerator.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/manager/lib/enumerator.h b/src/manager/lib/enumerator.h
index de272f9c9..7321e2192 100644
--- a/src/manager/lib/enumerator.h
+++ b/src/manager/lib/enumerator.h
@@ -35,10 +35,11 @@ struct enumerator_t {
/**
* @brief Enumerate collection.
*
- * @param ... variable argument list of pointers, NULL terminated
+ * @param item first enumerated item
+ * @param ... additional items enumerated, depending in implementation
* @return TRUE if pointers returned
*/
- bool (*enumerate)(enumerator_t *this, ...);
+ bool (*enumerate)(enumerator_t *this, void *item, ...);
/**
* @brief Destroy a enumerator instance.