Method

PurpleProtocolManagerregister

Declaration [src]

gboolean
purple_protocol_manager_register (
  PurpleProtocolManager* manager,
  PurpleProtocol* protocol,
  GError** error
)

Description [src]

Registers protocol with manager.

Available since:3.0.0

Parameters

protocol PurpleProtocol
 

The PurpleProtocol to register.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if protocol was successfully registered with manager, FALSE otherwise.