range-set: Add new function range_set_scan().
[pspp-builds.git] / src / libpspp / range-set.h
index bc7c81c889371d9cfc8a2222b14dcc53d820e288..3b7d04f4883710530b894a0f03e48fe7e60be39a 100644 (file)
@@ -61,6 +61,8 @@ bool range_set_allocate (struct range_set *, unsigned long int request,
 bool range_set_allocate_fully (struct range_set *, unsigned long int request,
                                unsigned long int *start);
 bool range_set_contains (const struct range_set *, unsigned long int position);
+unsigned long int range_set_scan (const struct range_set *,
+                                  unsigned long int start);
 
 static inline bool range_set_is_empty (const struct range_set *);