Method

PurpleAccountget_int

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.

Parameters

name 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 int
 

The default value.

Return value

Returns: int
 

The value.