Top | ![]() |
![]() |
![]() |
![]() |
FwupdResult *
fwupd_result_new_from_data (GVariant *data
);
Creates a new result using packed data.
Since: 0.7.0
void fwupd_result_add_guid (FwupdResult *result
,const gchar *guid
);
fwupd_result_add_guid
is deprecated and should not be used in newly-written code.
Adds the GUID if it does not already exist.
Since: 0.7.2
gboolean fwupd_result_has_guid (FwupdResult *result
,const gchar *guid
);
fwupd_result_has_guid
is deprecated and should not be used in newly-written code.
Finds out if the device has this specific GUID.
Since: 0.7.2
GPtrArray *
fwupd_result_get_guids (FwupdResult *result
);
fwupd_result_get_guids
is deprecated and should not be used in newly-written code.
Gets the GUIDs.
Since: 0.7.2
const gchar *
fwupd_result_get_guid_default (FwupdResult *result
);
fwupd_result_get_guid_default
is deprecated and should not be used in newly-written code.
Gets the default GUID.
Since: 0.7.2
const gchar *
fwupd_result_get_unique_id (FwupdResult *result
);
Gets the unique ID that can be used for caching.
Since: 0.7.3
void fwupd_result_set_unique_id (FwupdResult *result
,const gchar *unique_id
);
Sets the unique ID that can be used for caching.
Since: 0.7.3
FwupdRelease *
fwupd_result_get_release (FwupdResult *result
);
Gets the default release for this result.
Since: 0.9.3
FwupdDevice *
fwupd_result_get_device (FwupdResult *result
);
Gets the default device for this result.
Since: 0.9.3
const gchar *
fwupd_result_get_device_id (FwupdResult *result
);
fwupd_result_get_device_id
is deprecated and should not be used in newly-written code.
Gets the ID.
Since: 0.7.0
void fwupd_result_set_device_id (FwupdResult *result
,const gchar *device_id
);
fwupd_result_set_device_id
is deprecated and should not be used in newly-written code.
Sets the ID.
Since: 0.7.0
const gchar *
fwupd_result_get_device_name (FwupdResult *result
);
fwupd_result_get_device_name
is deprecated and should not be used in newly-written code.
Gets the device name.
Since: 0.7.0
void fwupd_result_set_device_name (FwupdResult *result
,const gchar *device_name
);
fwupd_result_set_device_name
is deprecated and should not be used in newly-written code.
Sets the device update_name.
Since: 0.7.0
const gchar *
fwupd_result_get_device_description (FwupdResult *result
);
fwupd_result_get_device_description
is deprecated and should not be used in newly-written code.
Gets the device description in AppStream markup format.
Since: 0.7.0
void fwupd_result_set_device_description (FwupdResult *result
,const gchar *device_description
);
fwupd_result_set_device_description
is deprecated and should not be used in newly-written code.
Sets the device description.
Since: 0.7.0
const gchar *
fwupd_result_get_device_version (FwupdResult *result
);
fwupd_result_get_device_version
is deprecated and should not be used in newly-written code.
Gets the device version.
Since: 0.7.0
void fwupd_result_set_device_version (FwupdResult *result
,const gchar *device_version
);
fwupd_result_set_device_version
is deprecated and should not be used in newly-written code.
Sets the device version.
Since: 0.7.0
const gchar *
fwupd_result_get_device_version_lowest
(FwupdResult *result
);
fwupd_result_get_device_version_lowest
is deprecated and should not be used in newly-written code.
Gets the lowest version of firmware the device will accept.
Since: 0.7.0
void fwupd_result_set_device_version_lowest (FwupdResult *result
,const gchar *device_version_lowest
);
fwupd_result_set_device_version_lowest
is deprecated and should not be used in newly-written code.
Sets the lowest version of firmware the device will accept.
Since: 0.7.0
const gchar *
fwupd_result_get_device_version_bootloader
(FwupdResult *result
);
fwupd_result_get_device_version_bootloader
is deprecated and should not be used in newly-written code.
Gets the version of the bootloader.
Since: 0.8.0
void fwupd_result_set_device_version_bootloader (FwupdResult *result
,const gchar *device_version_bootloader
);
fwupd_result_set_device_version_bootloader
is deprecated and should not be used in newly-written code.
Sets the bootloader version.
Since: 0.8.0
guint32
fwupd_result_get_device_flashes_left (FwupdResult *result
);
fwupd_result_get_device_flashes_left
is deprecated and should not be used in newly-written code.
void fwupd_result_set_device_flashes_left (FwupdResult *result
,guint32 flashes_left
);
fwupd_result_set_device_flashes_left
is deprecated and should not be used in newly-written code.
guint64
fwupd_result_get_device_flags (FwupdResult *result
);
fwupd_result_get_device_flags
is deprecated and should not be used in newly-written code.
Gets the device flags.
Since: 0.7.0
void fwupd_result_set_device_flags (FwupdResult *result
,guint64 device_flags
);
fwupd_result_set_device_flags
is deprecated and should not be used in newly-written code.
Sets the device flags.
Since: 0.7.0
void fwupd_result_add_device_flag (FwupdResult *result
,FwupdDeviceFlags flag
);
fwupd_result_add_device_flag
is deprecated and should not be used in newly-written code.
Adds a specific device flag to the result.
Since: 0.7.0
void fwupd_result_remove_device_flag (FwupdResult *result
,FwupdDeviceFlags flag
);
fwupd_result_remove_device_flag
is deprecated and should not be used in newly-written code.
Removes a specific device flag from the result.
Since: 0.7.3
gboolean fwupd_result_has_device_flag (FwupdResult *result
,FwupdDeviceFlags flag
);
fwupd_result_has_device_flag
is deprecated and should not be used in newly-written code.
Finds if the device has a specific device flag.
Since: 0.7.0
guint64
fwupd_result_get_device_created (FwupdResult *result
);
fwupd_result_get_device_created
is deprecated and should not be used in newly-written code.
Gets when the result was device_created.
Since: 0.7.0
void fwupd_result_set_device_created (FwupdResult *result
,guint64 device_created
);
fwupd_result_set_device_created
is deprecated and should not be used in newly-written code.
Sets when the result was device_created.
Since: 0.7.0
guint64
fwupd_result_get_device_modified (FwupdResult *result
);
fwupd_result_get_device_modified
is deprecated and should not be used in newly-written code.
Gets when the result was device_modified.
Since: 0.7.0
void fwupd_result_set_device_modified (FwupdResult *result
,guint64 device_modified
);
fwupd_result_set_device_modified
is deprecated and should not be used in newly-written code.
Sets when the result was device_modified.
Since: 0.7.0
const gchar *
fwupd_result_get_device_checksum (FwupdResult *result
);
fwupd_result_get_device_checksum
is deprecated and should not be used in newly-written code.
Gets the device checksum.
Since: 0.7.0
void fwupd_result_set_device_checksum (FwupdResult *result
,const gchar *device_checksum
);
fwupd_result_set_device_checksum
is deprecated and should not be used in newly-written code.
Sets the device checksum, i.e. what is on the device right now.
Since: 0.7.0
GChecksumType
fwupd_result_get_device_checksum_kind (FwupdResult *result
);
fwupd_result_get_device_checksum_kind
is deprecated and should not be used in newly-written code.
Gets the device checkum kind.
Since: 0.7.0
void fwupd_result_set_device_checksum_kind (FwupdResult *result
,GChecksumType checkum_kind
);
fwupd_result_set_device_checksum_kind
is deprecated and should not be used in newly-written code.
Sets the device checkum kind.
Since: 0.7.0
const gchar *
fwupd_result_get_device_provider (FwupdResult *result
);
fwupd_result_get_device_provider
is deprecated and should not be used in newly-written code.
Gets the device provider.
Since: 0.7.0
void fwupd_result_set_device_provider (FwupdResult *result
,const gchar *device_provider
);
fwupd_result_set_device_provider
is deprecated and should not be used in newly-written code.
Sets the device provider.
Since: 0.7.0
const gchar *
fwupd_result_get_device_vendor (FwupdResult *result
);
fwupd_result_get_device_vendor
is deprecated and should not be used in newly-written code.
Gets the device vendor.
Since: 0.7.0
void fwupd_result_set_device_vendor (FwupdResult *result
,const gchar *device_vendor
);
fwupd_result_set_device_vendor
is deprecated and should not be used in newly-written code.
Sets the device vendor.
Since: 0.7.0
guint64
fwupd_result_get_update_size (FwupdResult *result
);
fwupd_result_get_update_size
is deprecated and should not be used in newly-written code.
Gets the update size.
Since: 0.7.0
void fwupd_result_set_update_size (FwupdResult *result
,guint64 update_size
);
fwupd_result_set_update_size
is deprecated and should not be used in newly-written code.
Sets the update size.
Since: 0.7.0
const gchar *
fwupd_result_get_update_version (FwupdResult *result
);
fwupd_result_get_update_version
is deprecated and should not be used in newly-written code.
Gets the update version.
Since: 0.7.0
void fwupd_result_set_update_version (FwupdResult *result
,const gchar *update_version
);
fwupd_result_set_update_version
is deprecated and should not be used in newly-written code.
Sets the update version.
Since: 0.7.0
const gchar *
fwupd_result_get_update_filename (FwupdResult *result
);
fwupd_result_get_update_filename
is deprecated and should not be used in newly-written code.
Gets the update filename.
Since: 0.7.0
void fwupd_result_set_update_filename (FwupdResult *result
,const gchar *update_filename
);
fwupd_result_set_update_filename
is deprecated and should not be used in newly-written code.
Sets the update filename.
Since: 0.7.0
FwupdUpdateState
fwupd_result_get_update_state (FwupdResult *result
);
Gets the update state.
Since: 0.7.0
void fwupd_result_set_update_state (FwupdResult *result
,FwupdUpdateState update_state
);
Sets the update state.
Since: 0.7.0
const gchar *
fwupd_result_get_update_checksum (FwupdResult *result
);
fwupd_result_get_update_checksum
is deprecated and should not be used in newly-written code.
Gets the update checksum.
Since: 0.7.0
void fwupd_result_set_update_checksum (FwupdResult *result
,const gchar *update_checksum
);
fwupd_result_set_update_checksum
is deprecated and should not be used in newly-written code.
Sets the update checksum.
Since: 0.7.0
GChecksumType
fwupd_result_get_update_checksum_kind (FwupdResult *result
);
fwupd_result_get_update_checksum_kind
is deprecated and should not be used in newly-written code.
Gets the update checkum kind.
Since: 0.7.0
void fwupd_result_set_update_checksum_kind (FwupdResult *result
,GChecksumType checkum_kind
);
fwupd_result_set_update_checksum_kind
is deprecated and should not be used in newly-written code.
Sets the update checkum kind.
Since: 0.7.0
const gchar *
fwupd_result_get_update_uri (FwupdResult *result
);
fwupd_result_get_update_uri
is deprecated and should not be used in newly-written code.
Gets the update uri.
Since: 0.7.0
void fwupd_result_set_update_uri (FwupdResult *result
,const gchar *update_uri
);
fwupd_result_set_update_uri
is deprecated and should not be used in newly-written code.
Sets the update uri, i.e. where you can download the firmware from.
Since: 0.7.0
const gchar *
fwupd_result_get_update_homepage (FwupdResult *result
);
fwupd_result_get_update_homepage
is deprecated and should not be used in newly-written code.
Gets the update homepage.
Since: 0.7.0
void fwupd_result_set_update_homepage (FwupdResult *result
,const gchar *update_homepage
);
fwupd_result_set_update_homepage
is deprecated and should not be used in newly-written code.
Sets the update homepage.
Since: 0.7.0
const gchar *
fwupd_result_get_update_id (FwupdResult *result
);
fwupd_result_get_update_id
is deprecated and should not be used in newly-written code.
Gets the update id.
Since: 0.7.0
void fwupd_result_set_update_id (FwupdResult *result
,const gchar *update_id
);
fwupd_result_set_update_id
is deprecated and should not be used in newly-written code.
Sets the update id.
Since: 0.7.0
const gchar *
fwupd_result_get_update_description (FwupdResult *result
);
fwupd_result_get_update_description
is deprecated and should not be used in newly-written code.
Gets the update description in AppStream markup format.
Since: 0.7.0
void fwupd_result_set_update_description (FwupdResult *result
,const gchar *update_description
);
fwupd_result_set_update_description
is deprecated and should not be used in newly-written code.
Sets the update description.
Since: 0.7.0
const gchar *
fwupd_result_get_update_vendor (FwupdResult *result
);
fwupd_result_get_update_vendor
is deprecated and should not be used in newly-written code.
Gets the update vendor.
Since: 0.7.0
void fwupd_result_set_update_vendor (FwupdResult *result
,const gchar *update_vendor
);
fwupd_result_set_update_vendor
is deprecated and should not be used in newly-written code.
Sets the update vendor.
Since: 0.7.0
const gchar *
fwupd_result_get_update_summary (FwupdResult *result
);
fwupd_result_get_update_summary
is deprecated and should not be used in newly-written code.
Gets the update summary.
Since: 0.7.0
void fwupd_result_set_update_summary (FwupdResult *result
,const gchar *update_summary
);
fwupd_result_set_update_summary
is deprecated and should not be used in newly-written code.
Sets the update summary.
Since: 0.7.0
const gchar *
fwupd_result_get_update_error (FwupdResult *result
);
Gets the update error.
Since: 0.7.0
void fwupd_result_set_update_error (FwupdResult *result
,const gchar *update_error
);
Sets the update error.
Since: 0.7.0
FwupdTrustFlags
fwupd_result_get_update_trust_flags (FwupdResult *result
);
Gets the update trust_flags.
Since: 0.7.0
void fwupd_result_set_update_trust_flags (FwupdResult *result
,FwupdTrustFlags trust_flags
);
Sets the update trust_flags.
Since: 0.7.0
const gchar *
fwupd_result_get_update_license (FwupdResult *result
);
fwupd_result_get_update_license
is deprecated and should not be used in newly-written code.
Gets the update license.
Since: 0.7.0
void fwupd_result_set_update_license (FwupdResult *result
,const gchar *update_license
);
fwupd_result_set_update_license
is deprecated and should not be used in newly-written code.
Sets the update license.
Since: 0.7.0
const gchar *
fwupd_result_get_update_name (FwupdResult *result
);
fwupd_result_get_update_name
is deprecated and should not be used in newly-written code.
Gets the update name.
Since: 0.7.0
void fwupd_result_set_update_name (FwupdResult *result
,const gchar *update_name
);
fwupd_result_set_update_name
is deprecated and should not be used in newly-written code.
Sets the update name.
Since: 0.7.0
GVariant * fwupd_result_to_data (FwupdResult *result
,const gchar *type_string
);
Creates a GVariant from the result data.
Since: 0.7.0
gchar *
fwupd_result_to_string (FwupdResult *result
);
Builds a text representation of the object.
Since: 0.7.0
const gchar *
fwupd_result_get_guid (FwupdResult *result
);
fwupd_result_get_guid
is deprecated and should not be used in newly-written code.
Gets the GUID.
Since: 0.7.0
void fwupd_result_set_guid (FwupdResult *result
,const gchar *guid
);
fwupd_result_set_guid
is deprecated and should not be used in newly-written code.
Sets the GUID.
This function has been deprecated since 0.7.2.
Since: 0.7.0