]>
code.delx.au - pulseaudio/blob - src/hashset.h
6 struct hashset
*hashset_new(unsigned (*hash_func
) (const void *p
), int (*compare_func
) (const void*a
, const void*b
));
7 void hashset_free(struct hashset
*, void (*free_func
)(void *p
, void *userdata
), void *userdata
);
9 int hashset_put(struct hashset
*h
, const void *key
, void *value
);
10 void* hashset_get(struct hashset
*h
, const void *key
);
12 int hashset_remove(struct hashset
*h
, const void *key
);
14 unsigned hashset_ncontents(struct hashset
*h
);