Function

PackageKitSigTypeEnumfrom_string

Declaration [src]

PkSigTypeEnum
pk_sig_type_enum_from_string (
  const gchar* sig_type
)

Description [src]

Converts a text enumerated type to its unsigned integer representation.

Parameters

sig_type

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: PkSigTypeEnum

The enumerated constant value, e.g. PK_SIGTYPE_ENUM_GPG.