Function

Purpleprimitive_get_id_from_type

since: 2.0

Declaration [src]

const char*
purple_primitive_get_id_from_type (
  PurpleStatusPrimitive type
)

Description [src]

Lookup the id of a primitive status type based on the type. This ID is a unique plain-text name of the status, without spaces.

Available since: 2.0

Parameters

type

Type: PurpleStatusPrimitive

A primitive status type.

Return value

Type: const char*

The unique ID for this type.

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