int guac_pool_next_int(guac_pool *pool)
Returns the next available integer from the given guac_pool.
guac_pool * guac_pool_alloc(int size)
Allocates a new guac_pool having the given minimum size.
int min_size
The minimum number of integers which must have been returned by guac_pool_next_int before previously-...
Definition: pool.h:42
Represents a single integer within a larger pool of integers.
Definition: pool.h:67
void guac_pool_free(guac_pool *pool)
Frees the given guac_pool.
int active
The number of integers currently in use.
Definition: pool.h:47
Type definitions related to the guac_pool pool of unique integers.
A pool of integers.
Definition: pool.h:35
void guac_pool_free_int(guac_pool *pool, int value)
Frees the given integer back into the given guac_pool.
int value
The integer value of this pool entry.
Definition: pool.h:72