- defer_enable
void function(pa_defer_event* e, int b) defer_enable;
Enable or disable a deferred event source temporarily
- defer_free
void function(pa_defer_event* e) defer_free;
Free a deferred event source object
- defer_new
pa_defer_event* function(pa_mainloop_api* a, pa_defer_event_cb_t cb, void* userdata) defer_new;
Create a new deferred event source object
- defer_set_destroy
void function(pa_defer_event* e, pa_defer_event_destroy_cb_t cb) defer_set_destroy;
Set a function that is called when the deferred event source is destroyed. Use this to free the userdata argument if required
- io_enable
void function(pa_io_event* e, pa_io_event_flags_t events) io_enable;
Enable or disable IO events on this object
- io_free
void function(pa_io_event* e) io_free;
Free a IO event source object
- io_new
pa_io_event* function(pa_mainloop_api* a, int fd, pa_io_event_flags_t events, pa_io_event_cb_t cb, void* userdata) io_new;
Create a new IO event source object
- io_set_destroy
void function(pa_io_event* e, pa_io_event_destroy_cb_t cb) io_set_destroy;
Set a function that is called when the IO event source is destroyed. Use this to free the userdata argument if required
- quit
void function(pa_mainloop_api* a, int retval) quit;
Exit the main loop and return the specified retval
- time_free
void function(pa_time_event* e) time_free;
Free a deferred timer event source object
- time_new
pa_time_event* function(pa_mainloop_api* a, const(timeval)* tv, pa_time_event_cb_t cb, void* userdata) time_new;
Create a new timer event source object for the specified Unix time
- time_restart
void function(pa_time_event* e, const(timeval)* tv) time_restart;
Restart a running or expired timer event source with a new Unix time
- time_set_destroy
void function(pa_time_event* e, pa_time_event_destroy_cb_t cb) time_set_destroy;
Set a function that is called when the timer event source is destroyed. Use this to free the userdata argument if required
- userdata
void* userdata;
A pointer to some private, arbitrary data of the main loop implementation
An abstract mainloop API vtable