Method

FwupdPluginFdtImageget_attr_strlist

Declaration [src]

gboolean
fu_fdt_image_get_attr_strlist (
  FuFdtImage* self,
  const gchar* key,
  gchar*** val,
  GError** error
)

Description [src]

Gets a stringlist attribute from the image. val is always NUL terminated.

Available since:1.8.2

Parameters

key const gchar*
 

String, e.g. compatible

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

Values.

 The argument will be set by the function.
 The argument can be set to NULL.
 The instance takes ownership of the data, and is responsible for freeing it.
 The value is a NUL terminated UTF-8 string.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if val was set.