Function

PackageKitTransactionFlagEnumfrom_string

since: 0.8.1

Declaration [src]

PkTransactionFlagEnum
pk_transaction_flag_enum_from_string (
  const gchar* transaction_flag
)

Description [src]

Converts a text enumerated type to its unsigned integer representation.

Available since: 0.8.1

Parameters

transaction_flag

Type: const gchar*

Text describing the enumerated type.

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

Return value

Type: PkTransactionFlagEnum

The enumerated constant value, e.g. PK_TRANSACTION_FLAG_ENUM_SIMULATE.