From fa19d6ab7e2df69902d94a38cc03a183f6d97670 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 1 Sep 2004 12:21:06 +0000 Subject: implement missing scache_get_id_by_name add some more consts to idxset add module-sine, a sine generating sink_input module git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@165 fefdeb5f-60dc-0310-8127-8f9354f1896f --- polyp/idxset.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'polyp/idxset.h') diff --git a/polyp/idxset.h b/polyp/idxset.h index f26b03fb..e9a6fb9a 100644 --- a/polyp/idxset.h +++ b/polyp/idxset.h @@ -40,10 +40,10 @@ void pa_idxset_free(struct pa_idxset *s, void (*free_func) (void *p, void *userd int pa_idxset_put(struct pa_idxset*s, void *p, uint32_t *index); void* pa_idxset_get_by_index(struct pa_idxset*s, uint32_t index); -void* pa_idxset_get_by_data(struct pa_idxset*s, void *p, uint32_t *index); +void* pa_idxset_get_by_data(struct pa_idxset*s, const void *p, uint32_t *index); void* pa_idxset_remove_by_index(struct pa_idxset*s, uint32_t index); -void* pa_idxset_remove_by_data(struct pa_idxset*s, void *p, uint32_t *index); +void* pa_idxset_remove_by_data(struct pa_idxset*s, const void *p, uint32_t *index); /* This may be used to iterate through all entries. When called with an invalid index value it returns the first entry, otherwise the -- cgit