pulse.mainloopsignal

Undocumented in source.

Members

Aliases

pa_signal_cb_t
alias pa_signal_cb_t = void function(pa_mainloop_api* api, pa_signal_event* e, int sig, void* userdata)

Callback prototype for signal events

pa_signal_destroy_cb_t
alias pa_signal_destroy_cb_t = void function(pa_mainloop_api* api, pa_signal_event* e, void* userdata)

Destroy callback prototype for signal events

Functions

pa_signal_done
void pa_signal_done()

Cleanup the signal subsystem

pa_signal_free
void pa_signal_free(pa_signal_event* e)

Free a UNIX signal event source object

pa_signal_init
int pa_signal_init(pa_mainloop_api* api)

Initialize the UNIX signal subsystem and bind it to the specified main loop

pa_signal_new
pa_signal_event* pa_signal_new(int sig, pa_signal_cb_t callback, void* userdata)

Create a new UNIX signal event source object

pa_signal_set_destroy
void pa_signal_set_destroy(pa_signal_event* e, pa_signal_destroy_cb_t callback)

Set a function that is called when the signal event source is destroyed. Use this to free the userdata argument if required

Structs

pa_signal_event
struct pa_signal_event

An opaque UNIX signal event source object

Meta