mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-13 13:29:58 -05:00
add name registrar
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@39 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
010378643e
commit
a74cd2a1bd
17 changed files with 354 additions and 26 deletions
|
|
@ -5,9 +5,15 @@
|
|||
|
||||
#define IDXSET_INVALID ((uint32_t) -1)
|
||||
|
||||
unsigned idxset_trivial_hash_func(const void *p);
|
||||
int idxset_trivial_compare_func(const void *a, const void *b);
|
||||
|
||||
unsigned idxset_string_hash_func(const void *p);
|
||||
int idxset_string_compare_func(const void *a, const void *b);
|
||||
|
||||
struct idxset;
|
||||
|
||||
struct idxset* idxset_new(unsigned (*hash_func) (void *p), int (*compare_func) (void*a, void*b));
|
||||
struct idxset* idxset_new(unsigned (*hash_func) (const void *p), int (*compare_func) (const void*a, const void*b));
|
||||
void idxset_free(struct idxset *s, void (*free_func) (void *p, void *userdata), void *userdata);
|
||||
|
||||
int idxset_put(struct idxset*s, void *p, uint32_t *index);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue