]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/hashmap.h
Merge remote branch 'mkbosmans/rate-adjustment'
[pulseaudio] / src / pulsecore / hashmap.h
index f379fe3ce0a701fc021e1c0175c74711793914dd..ac2092a60f33c6e740d1bbf7d7bfd4dc7df77df4 100644 (file)
@@ -69,6 +69,9 @@ void *pa_hashmap_steal_first(pa_hashmap *h);
 /* Return the oldest entry in the hashmap */
 void* pa_hashmap_first(pa_hashmap *h);
 
+/* Return the newest entry in the hashmap */
+void* pa_hashmap_last(pa_hashmap *h);
+
 /* A macro to ease iteration through all entries */
 #define PA_HASHMAP_FOREACH(e, h, state) \
     for ((state) = NULL, (e) = pa_hashmap_iterate((h), &(state), NULL); (e); (e) = pa_hashmap_iterate((h), &(state), NULL))