Function

Purpleprefs_add_string

since: 2.0

Declaration [src]

void
purple_prefs_add_string (
  const char* name,
  const char* value
)

Description [src]

Add a new string pref.

Available since: 2.0

Parameters

name

Type: const char*

The name of the pref.

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

Type: const char*

The initial value to set.

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