Function

PackageKitIssueKindEnumfrom_string

unstable since: 2.0.0

Declaration [src]

PkIssueKindEnum
pk_issue_kind_enum_from_string (
  const gchar* issue_kind
)

Description [src]

Converts a text enumerated type to its unsigned integer representation.

Available since: 2.0.0

Parameters

issue_kind

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

The enumerated constant value, e.g. PK_ISSUE_KIND_ENUM_CVE.