summaryrefslogtreecommitdiffstats
path: root/src/pulse/mainloop-signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulse/mainloop-signal.h')
-rw-r--r--src/pulse/mainloop-signal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulse/mainloop-signal.h b/src/pulse/mainloop-signal.h
index a6c16f2f..a9e250bc 100644
--- a/src/pulse/mainloop-signal.h
+++ b/src/pulse/mainloop-signal.h
@@ -40,8 +40,10 @@ PA_C_DECL_BEGIN
/** An opaque UNIX signal event source object */
typedef struct pa_signal_event pa_signal_event;
+/** Callback prototype for signal events */
typedef void (*pa_signal_cb_t) (pa_mainloop_api *api, pa_signal_event*e, int sig, void *userdata);
+/** Destroy callback prototype for signal events */
typedef void (*pa_signal_destroy_cb_t) (pa_mainloop_api *api, pa_signal_event*e, void *userdata);
/** Initialize the UNIX signal subsystem and bind it to the specified main loop */