]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/hook-list.h
Make tests compile on FreeBSD
[pulseaudio] / src / pulsecore / hook-list.h
index 8514cced3dbfff42701c829b7af19329a64e00aa..deaa1715948d94f8577e4675945bddb9d23cae8d 100644 (file)
@@ -22,9 +22,6 @@
   USA.
 ***/
 
-#include <pulse/xmalloc.h>
-#include <pulse/gccmacro.h>
-
 #include <pulsecore/llist.h>
 
 typedef struct pa_hook_slot pa_hook_slot;
@@ -48,7 +45,7 @@ typedef pa_hook_result_t (*pa_hook_cb_t)(
         void *slot_data);
 
 struct pa_hook_slot {
-    pa_bool_t dead;
+    bool dead;
     pa_hook *hook;
     pa_hook_priority_t priority;
     pa_hook_cb_t callback;
@@ -71,4 +68,6 @@ void pa_hook_slot_free(pa_hook_slot *slot);
 
 pa_hook_result_t pa_hook_fire(pa_hook *hook, void *data);
 
+bool pa_hook_is_firing(pa_hook *hook);
+
 #endif