Method

PurpleProtocolManagerfind

unstable since: 3.0

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

Parameters

id

Type: const gchar*

The id of the PurpleProtocol to find.

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

Return value

Type: PurpleProtocol

The PurpleProtocol identified by id or NULL.

The returned data is owned by the instance.