Function

PurpleRequestActionCb

since: 2.0

Declaration

void
(* PurpleRequestActionCb) (
  void* data,
  int action
)

Description [src]

The type of callbacks passed to purple_request_action(). The first argument is the user_data parameter; the second is the index in the list of actions of the one chosen.

Available since: 2.0

Parameters

data

Type: void*

User-data.

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

Type: int

The action that was chosen.