Added utcb create/destroy and better reorganized calls to them.

This commit is contained in:
Bahadir Balban
2009-05-01 17:06:24 +03:00
parent 8ca0ca9cfb
commit 260527c0a3
5 changed files with 101 additions and 17 deletions

View File

@@ -14,6 +14,7 @@ struct id_pool *id_pool_new_init(int mapsize);
int id_new(struct id_pool *pool);
int id_del(struct id_pool *pool, int id);
int id_get(struct id_pool *pool, int id);
int id_is_empty(struct id_pool *pool);
int ids_new_contiguous(struct id_pool *pool, int numids);
int ids_del_contiguous(struct id_pool *pool, int first, int numids);