Method

PurpleAccountget_protocol

Declaration [src]

PurpleProtocol*
purple_account_get_protocol (
  PurpleAccount* account
)

Description [src]

Gets the PurpleProtocol instance for account.

Available since:3.0.0

Return value

Returns: PurpleProtocol
 

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

 The data is owned by the instance.