Method

PurpleStatusget_attr_int

since: 2.0

Declaration [src]

int
purple_status_get_attr_int (
  PurpleStatus* status,
  const char* id
)

Description [src]

Returns the integer value of an attribute in a status with the specified ID.

Available since: 2.0

Parameters

id

Type: const char*

The attribute ID.

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

Return value

Type: int

The integer value of the attribute.