Method
PurpleAccountManagerfind_custom
unstable since: 3.0
Declaration [src]
PurpleAccount*
purple_account_manager_find_custom (
PurpleAccountManager* manager,
GEqualFunc func,
gconstpointer data
)
Description [src]
Attempts to find an account in manager with a custom matching function.
Available since: 3.0
Parameters
func-
Type:
GEqualFuncThe function to call for each account. It should return TRUE when the desired element is found.
data-
Type:
gconstpointerThe user data to pass to the function, as its second argument.
The argument can be NULL.The data is owned by the caller of the method.
Return value
Type: PurpleAccount
The account if found, otherwise NULL.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |