Method

PurpleAccountget_string

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.

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

Returns: const char*
 

The value.

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