Function

Fwupdget_os_release_full

Declaration [src]

GHashTable*
fwupd_get_os_release_full (
  const gchar* filename,
  GError** error
)

Description [src]

Loads information from a defined system os-release file.

Available since:1.8.8

Parameters

filename const gchar*
 

Optional filename to load.

 The argument can be NULL.
 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GHashTable
 

Keys from os-release.

 The caller of the function takes ownership of the data container, but not the data inside it.