since: 2.1

Declaration [src]

purple_prefs_get_children_names (
  const char* name

Description [src]

Returns a list of children for a pref.

Available since: 2.1



Type: const char*

The parent pref.

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

Return value

Type: A list of utf8

A list of newly allocated strings denoting the names of the children. Returns NULL if there are no children or if pref doesn’t exist. The caller must free all the strings and the list.

The caller of the function takes ownership of the data, and is responsible for freeing it.
Each element is a NUL terminated UTF-8 string.