Method

HsCorequery_firmware_path

Declaration [src]

const char*
hs_core_query_firmware_path (
  HsCore* self,
  guint id
)

Description [src]

Gets the path to the firmware specified by id.

Getting firmware has a side effect of marking it as used. This can be undone via hs_core_reset_used_firmware().

Parameters

id

Type: guint

Firmware ID.

Return value

Type: const char*

The path to the firmware, or NULL if it’s not present.

The returned data is owned by the instance.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.