Method

PackageKitPackageSackget_ids

since: 0.5.3

Declaration [src]

gchar**
pk_package_sack_get_ids (
  PkPackageSack* sack
)

Description [src]

Returns all the Package IDs in the sack.

Available since: 0.5.3

Return value

Type: An array of utf8

The number of packages in the sack, free with g_strfreev().

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