Function

FwupdPluginProgressflag_from_string

since: 1.7.0

Declaration [src]

FuProgressFlags
fu_progress_flag_from_string (
  const gchar* flag
)

Description [src]

Converts a string to an progress flag.

Available since: 1.7.0

Parameters

flag

Type: const gchar*

A string, e.g. guessed

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

Return value

Type: FuProgressFlags

Enumerated value.