Function

PurpleInputFunction

Declaration

void
(* PurpleInputFunction) (
  gpointer data,
  gint fd,
  PurpleInputCondition cond
)

Description [src]

The type of callbacks to handle events on file descriptors, as passed to purple_input_add(). The callback will receive the user_data passed to purple_input_add(), the file descriptor on which the event occurred, and the condition that was satisfied to cause the callback to be invoked.

Parameters

data gpointer
 

User specified data.

 The argument can be NULL.
 The data is owned by the caller of the function.
fd gint
 

The input file descriptor.

cond PurpleInputCondition
 

The condition type.