]> code.delx.au - pulseaudio/blobdiff - polyp/hashmap.h
sample cache work
[pulseaudio] / polyp / hashmap.h
index b24e74a52766b683ec9c3a554ac7015dd5fd8665..3b79d7ae87bd8c3c46005649c28596db9578c68e 100644 (file)
@@ -34,4 +34,9 @@ int pa_hashmap_remove(struct pa_hashmap *h, const void *key);
 
 unsigned pa_hashmap_ncontents(struct pa_hashmap *h);
 
+/* Maybe used to iterate through the hashmap. Initial state should
+   point to a NULL pointer. The hashmap may not be modified during
+   iteration */
+void *pa_hashmap_iterate(struct pa_hashmap *h, void **state);
+
 #endif