Function

PackageKitPackageid_equal_fuzzy_arch

since: 0.5.0

Declaration [src]

gboolean
pk_package_id_equal_fuzzy_arch (
  const gchar* package_id1,
  const gchar* package_id2
)

Description [src]

Only compare the name, version, and arch, where the architecture will fuzzy match with i*86.

Available since: 0.5.0

Parameters

package_id1

Type: const gchar*

The first PackageID.

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

Type: const gchar*

The second PackageID.

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 PackageIDs can be considered equal.