Function

PackageKitbitfield_from_enums

since: 0.5.2

Declaration [src]

PkBitfield
pk_bitfield_from_enums (
  gint value,
  ...
)

Description [src]

Create a bitfield with the suppied values set.

Available since: 0.5.2

This function is not directly available to language bindings.

Parameters

value

Type: gint

The first value we want to add to the bitfield.

...

Type: 

Other values to add, terminated by -1.

Return value

Type: PkBitfield

A PkBitfield, or 0 if invalid.