Function

FwupdRemotekind_from_string

Declaration [src]

FwupdRemoteKind
fwupd_remote_kind_from_string (
  const gchar* kind
)

Description [src]

Converts an printable string to an enumerated type.

Available since:0.9.6

Parameters

kind const gchar*
 

A string, e.g. download

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

Return value

Returns: FwupdRemoteKind
 

A FwupdRemoteKind, e.g. FWUPD_REMOTE_KIND_DOWNLOAD.