-void *sparse_array_scan (const struct sparse_array *,
- unsigned long int *skip,
- unsigned long int *key);
+void *sparse_array_first (const struct sparse_array *,
+ unsigned long int *idxp);
+void *sparse_array_next (const struct sparse_array *,
+ unsigned long int skip, unsigned long int *idxp);
+void *sparse_array_last (const struct sparse_array *,
+ unsigned long int *idxp);
+void *sparse_array_prev (const struct sparse_array *,
+ unsigned long int skip, unsigned long int *idxp);