summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/idxset.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-06-17 23:43:50 +0200
committerLennart Poettering <lennart@poettering.net>2009-06-17 23:43:50 +0200
commit53b87033aa04a504677d4c14b0b65caa58d16dbd (patch)
tree87bc32d0e83d8a9018fb10a7d308ae4a8ccf1f89 /src/pulsecore/idxset.h
parent550b619558f03fb9e6d5d8072b9a4b15d9e6f91f (diff)
parent75256fb671b6ae8d784e0d6415d292fdbc6482c2 (diff)
Merge commit 'origin/master' into master-tx
Diffstat (limited to 'src/pulsecore/idxset.h')
-rw-r--r--src/pulsecore/idxset.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pulsecore/idxset.h b/src/pulsecore/idxset.h
index a6179fcf..d1e68c5c 100644
--- a/src/pulsecore/idxset.h
+++ b/src/pulsecore/idxset.h
@@ -103,6 +103,9 @@ unsigned pa_idxset_size(pa_idxset*s);
/* Return TRUE of the idxset is empty */
pa_bool_t pa_idxset_isempty(pa_idxset *s);
+/* Duplicate the idxset. This will not copy the actual indexes */
+pa_idxset *pa_idxset_copy(pa_idxset *s);
+
/* A macro to ease iteration through all entries */
#define PA_IDXSET_FOREACH(e, s, idx) \
for ((e) = pa_idxset_first((s), &(idx)); (e); (e) = pa_idxset_next((s), &(idx)))