Method

PurpleAccountget_protocol

since: 3.0

Declaration [src]

PurpleProtocol*
purple_account_get_protocol (
  PurpleAccount* account
)

Description [src]

Gets the PurpleProtocol instance for account.

Available since: 3.0

Return value

Type: PurpleProtocol

The PurpleProtocol for account or NULL if it could not be found.

The data is owned by the instance.