EDataServer.util_slist_to_strv
Description: Reference for EDataServer.util_slist_to_strv

### Function

# EDataServerutil_slist_to_strv

since: 3.4

#### Declaration [src]

    gchar**
    e_util_slist_to_strv (
      const GSList* strings
    )

#### Description [src]

Convert list of strings into NULL-terminates array of strings.

Available since: 3.4

#### Parameters

`strings`

  Type: A list of `utf8`

  A `GSList` of strings (const gchar *).

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

#### Return value

Type: An array of `utf8`

Newly allocated `NULL`-terminated array of strings. Returned pointer should be freed with g_strfreev().

Note: Pair function for this is e_util_strv_to_slist().

The array is `NULL`-terminated.
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.