Logo Search packages:      
Sourcecode: pulseaudio version File versions  Download package

void pa_signal_set_destroy ( pa_signal_event e,
void(*)(pa_mainloop_api *api, pa_signal_event *e, void *userdata)  callback 
)

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

Definition at line 226 of file mainloop-signal.c.

                                                                                                                            {
    pa_assert(e);

    e->destroy_callback = _callback;
}


Generated by  Doxygen 1.6.0   Back to index