Method

PurpleProtocolManagerfind

Declaration [src]

PurpleProtocol*
purple_protocol_manager_find (
  PurpleProtocolManager* manager,
  const gchar* id
)

Description [src]

Gets the PurpleProtocol identified by id if found, otherwise NULL.

Available since:3.0.0

Parameters

id const gchar*
 

The id of the PurpleProtocol to find.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.

Return value

Returns: PurpleProtocol
 

The PurpleProtocol identified by id or NULL.

 The data is owned by the instance.