mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-24 08:56:42 -05:00
add module arguments parse in modargs.c make module-pipe-sink use it git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@61 fefdeb5f-60dc-0310-8127-8f9354f1896f
16 lines
552 B
C
16 lines
552 B
C
#ifndef foohashmaphfoo
|
|
#define foohashmaphfoo
|
|
|
|
struct pa_hashmap;
|
|
|
|
struct pa_hashmap *pa_hashmap_new(unsigned (*hash_func) (const void *p), int (*compare_func) (const void*a, const void*b));
|
|
void pa_hashmap_free(struct pa_hashmap*, void (*free_func)(void *p, void *userdata), void *userdata);
|
|
|
|
int pa_hashmap_put(struct pa_hashmap *h, const void *key, void *value);
|
|
void* pa_hashmap_get(struct pa_hashmap *h, const void *key);
|
|
|
|
int pa_hashmap_remove(struct pa_hashmap *h, const void *key);
|
|
|
|
unsigned pa_hashmap_ncontents(struct pa_hashmap *h);
|
|
|
|
#endif
|