Method

PurpleAccountget_int

since: 2.0

Declaration [src]

int
purple_account_get_int (
  PurpleAccount* account,
  const char* name,
  int default_value
)

Description [src]

Returns a protocol-specific integer setting for an account.

Available since: 2.0

Parameters

name

Type: const char*

The name of the setting.

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

Type: int

The default value.

Return value

Type: int

The value.