Function

PurpleAccountUserSplitnew

since: 2.0

Declaration [src]

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

Description [src]

Creates a new account username split.

Available since: 2.0

Parameters

text

Type: const char*

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

The default value.

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

Type: char

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.