Function

PackageKitgroup_bitfield_from_string

since: 0.5.2

Declaration [src]

PkBitfield
pk_group_bitfield_from_string (
  const gchar* groups
)

Description [src]

Converts text representation to its enumerated type bitfield.

Available since: 0.5.2

Parameters

groups

Type: const gchar*

The enumerated constant value, e.g. “available;~gui”.

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

Return value

Type: PkBitfield

The enumerated type values, or 0 for invalid.