Function

PackageKitPackageids_add_ids

since: 0.5.2

Declaration [src]

gchar**
pk_package_ids_add_ids (
  gchar** package_ids,
  gchar** package_ids_new
)

Description [src]

Adds a package_id to an existing list.

Available since: 0.5.2

Parameters

package_ids

Type: gchar**

A string array of package_id’s.

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

Type: gchar**

A string array of package_id’s.

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 new list, free 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.