Method

PurpleAccountget_string

since: 2.0

Declaration [src]

const char*
purple_account_get_string (
  PurpleAccount* account,
  const char* name,
  const char* default_value
)

Description [src]

Returns a protocol-specific string 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: const char*

The default value.

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

Return value

Type: const char*

The value.

The data is owned by the instance.
The value is a NUL terminated UTF-8 string.