Function

Purpleprimitive_get_name_from_type

Declaration [src]

const char*
purple_primitive_get_name_from_type (
  PurpleStatusPrimitive type
)

Description [src]

Lookup the name of a primitive status type based on the type. This name is the plain-English name of the status type. It is usually one or two words.

Parameters

type

Type: PurpleStatusPrimitive

A primitive status type.

Return value

Type: const char*

The name of this type, suitable for users to see.

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