summaryrefslogtreecommitdiffstats
path: root/polyp/idxset.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-01 12:21:06 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-01 12:21:06 +0000
commitfa19d6ab7e2df69902d94a38cc03a183f6d97670 (patch)
tree84f2124168b752143fa9430e0684b1244936d7b8 /polyp/idxset.h
parent36550f4a66ae28e1b81b9b818c38cd0fcd1302a1 (diff)
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
Diffstat (limited to 'polyp/idxset.h')
-rw-r--r--polyp/idxset.h4
1 files changed, 2 insertions, 2 deletions
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