Data Fields | |
guint(* | timeout_add )(guint interval, GSourceFunc function, gpointer data) |
Creates a callback timer with an interval measured in milliseconds. | |
gboolean(* | timeout_remove )(guint handle) |
Removes a callback timer. | |
guint(* | input_add )(int fd, PurpleInputCondition cond, PurpleInputFunction func, gpointer user_data) |
Adds an input handler. | |
gboolean(* | input_remove )(guint handle) |
Removes an input handler. | |
int(* | input_get_error )(int fd, int *error) |
Get the current error status for an input. | |
guint(* | timeout_add_seconds )(guint interval, GSourceFunc function, gpointer data) |
Creates a callback timer with an interval measured in seconds. | |
void(* | _purple_reserved2 )(void) |
void(* | _purple_reserved3 )(void) |
void(* | _purple_reserved4 )(void) |
Definition at line 49 of file eventloop.h.
guint(* _PurpleEventLoopUiOps::timeout_add)(guint interval, GSourceFunc function, gpointer data) |
Creates a callback timer with an interval measured in milliseconds.
gboolean(* _PurpleEventLoopUiOps::timeout_remove)(guint handle) |
guint(* _PurpleEventLoopUiOps::input_add)(int fd, PurpleInputCondition cond, PurpleInputFunction func, gpointer user_data) |
gboolean(* _PurpleEventLoopUiOps::input_remove)(guint handle) |
int(* _PurpleEventLoopUiOps::input_get_error)(int fd, int *error) |
Get the current error status for an input.
Implementation of this UI op is optional. Implement it if the UI's sockets or event loop needs to customize determination of socket error status.
guint(* _PurpleEventLoopUiOps::timeout_add_seconds)(guint interval, GSourceFunc function, gpointer data) |
Creates a callback timer with an interval measured in seconds.
This allows UIs to group timers for better power efficiency. For this reason, interval may be rounded by up to a second.
Implementation of this UI op is optional. If it's not implemented, calls to purple_timeout_add_seconds() will be serviced by the timeout_add UI op.