- * Function: int pvector_resize( pvector *pv,unsigned int new_size,
- * int (*reclaim)(pvector *,int,void*) )
+ * Find the next used slot at given index or later. With a reclaim
+ * function, it will be invoked for verifying that the item is
+ * actually in use, in which case it returns 1. Otherwise it should
+ * reclaim any memory for the item and return 0;
+ */
+void **pvector_next_used(
+ pvector *pv,unsigned long *index,
+ int (*reclaim)(pvector *pv,unsigned long index,void *item,void *data),
+ void *data );
+
+/*!
+ * Function: int pvector_resize(
+ * pvector *pv,unsigned long new_size,
+ * int (*reclaim)(pvector *,unsigned long,void *item,void *data),
+ * void *data )