Top | ![]() |
![]() |
![]() |
![]() |
An object that represents a firmware release with a specific version. Devices can have more than one release, and the releases are typically ordered by their version.
See also: FwupdDevice
gchar *
fwupd_release_to_string (FwupdRelease *release
);
Builds a text representation of the object.
Since: 0.9.3
const gchar *
fwupd_release_get_version (FwupdRelease *release
);
Gets the update version.
Since: 0.9.3
void fwupd_release_set_version (FwupdRelease *release
,const gchar *version
);
Sets the update version.
Since: 0.9.3
const gchar *
fwupd_release_get_uri (FwupdRelease *release
);
Gets the update uri.
Since: 0.9.3
void fwupd_release_set_uri (FwupdRelease *release
,const gchar *uri
);
Sets the update uri, i.e. where you can download the firmware from.
Since: 0.9.3
GPtrArray *
fwupd_release_get_checksums (FwupdRelease *release
);
Gets the release checksums.
Since: 0.9.3
void fwupd_release_add_checksum (FwupdRelease *release
,const gchar *checksum
);
Sets the update checksum.
Since: 0.9.3
GHashTable *
fwupd_release_get_metadata (FwupdRelease *release
);
Gets the release metadata.
Since: 1.0.4
void fwupd_release_add_metadata (FwupdRelease *release
,GHashTable *hash
);
Sets multiple release metadata items.
Since: 1.0.4
void fwupd_release_add_metadata_item (FwupdRelease *release
,const gchar *key
,const gchar *value
);
Sets a release metadata item.
Since: 1.0.4
const gchar * fwupd_release_get_metadata_item (FwupdRelease *release
,const gchar *key
);
Gets a release metadata item.
Since: 1.0.4
const gchar *
fwupd_release_get_filename (FwupdRelease *release
);
Gets the update filename.
Since: 0.9.3
void fwupd_release_set_filename (FwupdRelease *release
,const gchar *filename
);
Sets the update filename.
Since: 0.9.3
const gchar *
fwupd_release_get_appstream_id (FwupdRelease *release
);
Gets the AppStream ID.
Since: 0.9.3
void fwupd_release_set_appstream_id (FwupdRelease *release
,const gchar *appstream_id
);
Sets the AppStream ID.
Since: 0.9.3
const gchar *
fwupd_release_get_remote_id (FwupdRelease *release
);
Gets the remote ID that can be used for downloading.
Since: 0.9.3
void fwupd_release_set_remote_id (FwupdRelease *release
,const gchar *remote_id
);
Sets the remote ID that can be used for downloading.
Since: 0.9.3
const gchar *
fwupd_release_get_vendor (FwupdRelease *release
);
Gets the update vendor.
Since: 0.9.3
void fwupd_release_set_vendor (FwupdRelease *release
,const gchar *vendor
);
Sets the update vendor.
Since: 0.9.3
const gchar *
fwupd_release_get_name (FwupdRelease *release
);
Gets the update name.
Since: 0.9.3
void fwupd_release_set_name (FwupdRelease *release
,const gchar *name
);
Sets the update name.
Since: 0.9.3
const gchar *
fwupd_release_get_summary (FwupdRelease *release
);
Gets the update summary.
Since: 0.9.3
void fwupd_release_set_summary (FwupdRelease *release
,const gchar *summary
);
Sets the update summary.
Since: 0.9.3
const gchar *
fwupd_release_get_description (FwupdRelease *release
);
Gets the update description in AppStream markup format.
Since: 0.9.3
void fwupd_release_set_description (FwupdRelease *release
,const gchar *description
);
Sets the update description.
Since: 0.9.3
const gchar *
fwupd_release_get_homepage (FwupdRelease *release
);
Gets the update homepage.
Since: 0.9.3
void fwupd_release_set_homepage (FwupdRelease *release
,const gchar *homepage
);
Sets the update homepage.
Since: 0.9.3
guint64
fwupd_release_get_size (FwupdRelease *release
);
Gets the update size.
Since: 0.9.3
void fwupd_release_set_size (FwupdRelease *release
,guint64 size
);
Sets the update size.
Since: 0.9.3
const gchar *
fwupd_release_get_license (FwupdRelease *release
);
Gets the update license.
Since: 0.9.3
void fwupd_release_set_license (FwupdRelease *release
,const gchar *license
);
Sets the update license.
Since: 0.9.3
FwupdTrustFlags
fwupd_release_get_trust_flags (FwupdRelease *release
);
Gets the trust level of the release.
Since: 0.9.8
void fwupd_release_set_trust_flags (FwupdRelease *release
,FwupdTrustFlags trust_flags
);
Sets the trust level of the release.
Since: 0.9.8