Function

PurpleRequestFieldAccountFilterFunc

since: 3.0

Declaration

gboolean
(* PurpleRequestFieldAccountFilterFunc) (
  PurpleAccount* account,
  gpointer user_data
)

Description [src]

A function that is called to determine if the account should be matched.

If the filter matches the account, this function must return TRUE. If the account should be filtered out, FALSE must be returned.

Available since: 3.0

Parameters

account

Type: PurpleAccount

The account.

The data is owned by the caller of the function.
user_data

Type: gpointer

The data passed to purple_request_field_account_set_filter().

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

Return value

Type: gboolean

TRUE to keep the account.