mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-14 06:59:53 -05:00
more cleanups
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@11 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
c8cf0c1ce9
commit
5ce204829f
13 changed files with 162 additions and 39 deletions
|
|
@ -18,8 +18,15 @@ void* idxset_get_by_data(struct idxset*s, void *p, uint32_t *index);
|
|||
void* idxset_remove_by_index(struct idxset*s, uint32_t index);
|
||||
void* idxset_remove_by_data(struct idxset*s, 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
|
||||
next following. The function is best called with *index =
|
||||
IDXSET_VALID first. */
|
||||
void* idxset_rrobin(struct idxset *s, uint32_t *index);
|
||||
|
||||
/* Return the oldest entry in the idxset */
|
||||
void* idxset_first(struct idxset *s, uint32_t *index);
|
||||
|
||||
int idxset_foreach(struct idxset*s, int (*func)(void *p, uint32_t index, int *del, void*userdata), void *userdata);
|
||||
|
||||
unsigned idxset_ncontents(struct idxset*s);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue