Function

PackageKitPackageids_from_string

since: 0.5.2

Declaration [src]

gchar**
pk_package_ids_from_string (
  const gchar* package_id
)

Description [src]

Form a composite string array of package_id’s from a delimited string.

Available since: 0.5.2

Parameters

package_id

Type: const gchar*

A single package_id.

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

Return value

Type: An array of utf8

The string array, or NULL if invalid, free with g_strfreev().

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.