void * hashset_iterator_value(hashset_itr_t itr)
Return the value at the current index.
int hashset_iterator_next(hashset_itr_t itr)
Advance to the next value in the hashset.
int hashset_iterator_has_next(hashset_itr_t itr)
Return 1 if there is a next value in the hashset and 0 otherwise.
hashset_itr_t hashset_iterator(hashset_t set)
Create a hashset iterator.
A hash set implementation in C.
struct hashset_st * hashset_t
Definition hashset.h:73
struct hashset_itr_st * hashset_itr_t
Definition hashset_itr.h:46
A hashset iterator.
Definition hashset_itr.h:41
int index
Definition hashset_itr.h:43
hashset_t set
Definition hashset_itr.h:42