diff options
Diffstat (limited to 'src/idmap.h')
-rw-r--r-- | src/idmap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/idmap.h b/src/idmap.h index 6f66ffc8..73e226e2 100644 --- a/src/idmap.h +++ b/src/idmap.h @@ -26,3 +26,6 @@ void idmap_free(struct idmap *idmap); void idmap_put(struct idmap *idmap, unsigned int bit); unsigned int idmap_alloc(struct idmap *idmap); unsigned int idmap_alloc_next(struct idmap *idmap, unsigned int last); +struct idmap *idmap_new_from_range(unsigned int min, unsigned int max); +unsigned int idmap_get_min(struct idmap *idmap); +unsigned int idmap_get_max(struct idmap *idmap); |