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.


type PurpleStatusPrimitive

A primitive status type.

Return value

Returns: 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.