Function

Purpleprimitive_get_type_from_id

Declaration [src]

PurpleStatusPrimitive
purple_primitive_get_type_from_id (
  const char* id
)

Description [src]

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

Parameters

id const char*
 

The unique ID of a primitive status type.

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

Return value

Returns: PurpleStatusPrimitive
 

The PurpleStatusPrimitive value.