Function

FwupdPluginArchiveformat_from_string

Declaration [src]

FuArchiveFormat
fu_archive_format_from_string (
  const gchar* format
)

Description [src]

Converts a string to an enumerated format.

Available since:1.8.1

Parameters

format const gchar*
 

A string, e.g. zip

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

Return value

Returns: FuArchiveFormat
 

Enumerated value.