Function

PackageKitrole_bitfield_to_string

since: 0.5.2

Declaration [src]

gchar*
pk_role_bitfield_to_string (
  PkBitfield roles
)

Description [src]

Converts a enumerated type bitfield to its text representation.

Available since: 0.5.2

Parameters

roles

Type: PkBitfield

The enumerated type values.

Return value

Type: gchar*

The enumerated constant value, e.g. “install-file;update-system”.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.