_PurpleEventLoopUiOps Struct Reference


Data Fields

void(* _purple_reserved1 )(void)
void(* _purple_reserved2 )(void)
void(* _purple_reserved3 )(void)
void(* _purple_reserved4 )(void)
guint(* input_add )(int fd, PurpleInputCondition cond, PurpleInputFunction func, gpointer user_data)
 Adds an input handler.
int(* input_get_error )(int fd, int *error)
 Get the current error status for an input.
gboolean(* input_remove )(guint handle)
 Removes an input handler.
guint(* timeout_add )(guint interval, GSourceFunc function, gpointer data)
 Creates a callback timer.
gboolean(* timeout_remove )(guint handle)
 Removes a callback timer.

Detailed Description

Definition at line 48 of file eventloop.h.


Field Documentation

guint(* _PurpleEventLoopUiOps::input_add)(int fd, PurpleInputCondition cond, PurpleInputFunction func, gpointer user_data)

Adds an input handler.

See also:
purple_input_add, g_io_add_watch_full

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.

See also:
purple_input_get_error, getsockopt

gboolean(* _PurpleEventLoopUiOps::input_remove)(guint handle)

Removes an input handler.

See also:
purple_input_remove, g_source_remove

guint(* _PurpleEventLoopUiOps::timeout_add)(guint interval, GSourceFunc function, gpointer data)

Creates a callback timer.

See also:
g_timeout_add, purple_timeout_add

gboolean(* _PurpleEventLoopUiOps::timeout_remove)(guint handle)

Removes a callback timer.

See also:
purple_timeout_remove, g_source_remove


The documentation for this struct was generated from the following file: