41 ccl_set_create (
void);
49 ccl_set_delete (ccl_set *set);
52 ccl_set_has (
const ccl_set *set,
void *obj);
55 ccl_set_add (ccl_set *set,
void *obj);
58 ccl_set_remove (ccl_set *set,
void *obj);
60 extern ccl_pointer_iterator *
61 ccl_set_get_elements (
const ccl_set *set);
64 ccl_set_is_empty (
const ccl_set *set);
67 ccl_set_get_size (
const ccl_set *set);
70 ccl_set_dup (
const ccl_set *set);
73 ccl_set_merge (ccl_set *set,
const ccl_set *other);
76 ccl_set_union (
const ccl_set *s1,
const ccl_set *s2);
79 ccl_set_intersect (
const ccl_set *s1,
const ccl_set *s2);
82 ccl_set_enable_pool (ccl_set *set,
const char *poolname,
int nb_elements);
A generic iterator interface.
int ccl_compare_func(const void *ptr1, const void *ptr2)
Prototype of functions used to order two objects pointed respectively by ptr1 and ptr2...
void ccl_delete_proc(void *ptr)
Prototype of procedures used to release the resources allocated to the object pointed by ptr...
Some useful and common macros.
A dynamic association table implemented by hashing.
struct ccl_hash_st ccl_hash
abstract type of an hash table.
unsigned int ccl_hash_func(const void *ptr)
Prototype of functions used to compute a hashed value from an abstract object pointed by ptr...