26#ifndef _PURPLE_EVENTLOOP_H_
27#define _PURPLE_EVENTLOOP_H_
85 guint (*
timeout_add)(guint interval, GSourceFunc function, gpointer data);
153 void (*_purple_reserved2)(void);
154 void (*_purple_reserved3)(void);
155 void (*_purple_reserved4)(void);
PurpleEventLoopUiOps * purple_eventloop_get_ui_ops(void)
Returns the UI operations structure used for accounts.
guint purple_timeout_add_seconds(guint interval, GSourceFunc function, gpointer data)
Creates a callback timer.
void purple_eventloop_set_ui_ops(PurpleEventLoopUiOps *ops)
Sets the UI operations structure to be used for accounts.
gboolean purple_timeout_remove(guint handle)
Removes a timeout handler.
void(* PurpleInputFunction)(gpointer, gint, PurpleInputCondition)
The type of callbacks to handle events on file descriptors, as passed to purple_input_add().
int purple_input_get_error(int fd, int *error)
Get the current error status for an input.
guint purple_timeout_add(guint interval, GSourceFunc function, gpointer data)
Creates a callback timer.
PurpleInputCondition
An input condition.
@ PURPLE_INPUT_WRITE
A write condition.
@ PURPLE_INPUT_READ
A read condition.
guint purple_input_add(int fd, PurpleInputCondition cond, PurpleInputFunction func, gpointer user_data)
Adds an input handler.
gboolean purple_input_remove(guint handle)
Removes an input handler.
An abstraction of an application's mainloop; libpurple will use this to watch file descriptors and sc...
guint(* timeout_add_seconds)(guint interval, GSourceFunc function, gpointer data)
If implemented, should create a callback timer with an interval measured in seconds.
int(* input_get_error)(int fd, int *error)
If implemented, should get the current error status for an input.
gboolean(* timeout_remove)(guint handle)
Should remove a callback timer.
guint(* timeout_add)(guint interval, GSourceFunc function, gpointer data)
Should create a callback timer with an interval measured in milliseconds.
gboolean(* input_remove)(guint handle)
Should remove an input handler.
guint(* input_add)(int fd, PurpleInputCondition cond, PurpleInputFunction func, gpointer user_data)
Should add an input handler.