Method

PurpleAccountget_protocol

unstable since: 3.0

Declaration [src]

PurpleProtocol*
purple_account_get_protocol (
  PurpleAccount* account
)

Description [src]

Gets the protocol instance for an account.

Available since: 3.0

Return value

Type: PurpleProtocol

The protocol if found.

The returned data is owned by the instance.
The return value can be NULL.