summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/idxset.h
diff options
context:
space:
mode:
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 0a4e528e..f089ef37 100644
--- a/src/pulsecore/idxset.h
+++ b/src/pulsecore/idxset.h
@@ -32,6 +32,9 @@
/* A special index value denoting the invalid index. */
#define PA_IDXSET_INVALID ((uint32_t) -1)
+/* Similar to pa_free_cb_t, but takes a userdata argument */
+typedef void (*pa_free2_cb_t)(void *p, void *userdata);
+
/* Generic implementations for hash and comparison functions. Just
* compares the pointer or calculates the hash value directly from the
* pointer value. */