Function

PurpleAccountUserSplitnew

since: 2.0

Declaration [src]

PurpleAccountUserSplit*
purple_account_user_split_new (
  const gchar* text,
  const gchar* default_value,
  gchar sep
)

Description [src]

Creates a new account username split.

Available since: 2.0

Parameters

text

Type: const gchar*

The text of the option.

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

Type: const gchar*

The default value.

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

Type: gchar

The field separator.

Return value

Type: PurpleAccountUserSplit

The new user split.

The caller of the function takes ownership of the data, and is responsible for freeing it.