Function

PackageKittransaction_flag_bitfield_from_string

since: 0.8.1

Declaration [src]

PkBitfield
pk_transaction_flag_bitfield_from_string (
  const gchar* transaction_flags
)

Description [src]

Converts text representation to its enumerated type bitfield, or 0 for invalid.

Available since: 0.8.1

Parameters

transaction_flags

Type: const gchar*

The enumerated constant value, e.g. “only-trusted;simulate”.

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.