Method

PurpleBlistNodeget_int

since: 2.0.0

Declaration [src]

int
purple_blist_node_get_int (
  PurpleBlistNode* node,
  const char* key
)

Description [src]

Retrieves a named integer setting from a node in the buddy list.

Available since: 2.0.0

Parameters

key

Type: const char*

The identifier of the data.

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

Return value

Type: int

The value, or 0 if there is no setting.