Method

PurpleBlistNodeget_int

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.

Parameters

key 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

Returns: int
 

The value, or 0 if there is no setting.