Function

PackageKitPackageids_present_id

since: 0.5.2

Declaration [src]

gboolean
pk_package_ids_present_id (
  gchar** package_ids,
  const gchar* package_id
)

Description [src]

Finds out if a package ID is present in the 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_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: gboolean

TRUE if the package ID is present.