mirror of
https://git.proxmox.com/git/fwupd
synced 2026-01-02 16:53:32 +00:00
This removes the 100% unused addr_end parameter and explicitly makes the addr_start into the start offset in more cases.
6.2 KiB
6.2 KiB
libfwupdplugin
This library is only partially API and ABI stable. Keeping unused, unsafe and deprecated functions around forever is a maintenance burden and so symbols are removed when branching for new minor versions.
Use ./contrib/migrate.py to migrate up out-of-tree plugins to the new API.
Remember: Plugins should be upstream!
1.5.5
fu_common_is_cpu_intel(): Usefu_common_get_cpu_vendor()instead.fu_firmware_strparse_uintXX(): Usefu_firmware_strparse_uintXX_safe()instead.fu_plugin_get_usb_context(): Remove, as no longer required.fu_plugin_set_usb_context(): Remove, as no longer required.fu_plugin_runner_usb_device_added(): Usefu_plugin_runner_backend_device_added()instead.fu_plugin_runner_udev_device_added(): Usefu_plugin_runner_backend_device_added()instead.fu_plugin_runner_udev_device_changed(): Usefu_plugin_runner_backend_device_added()instead.FuHidDevice->open(): Use theFuDevicesuperclass instead.FuHidDevice->close(): Use theFuDevicesuperclass instead.FuUsbDevice->probe(): Use theFuDevicesuperclass instead.FuUsbDevice->open(): Use theFuDevicesuperclass instead.FuUsbDevice->close(): Use theFuDevicesuperclass instead.FuUdevDevice->to_string(): Use theFuDevicesuperclass instead.FuUdevDevice->probe(): Use theFuDevicesuperclass instead.FuUdevDevice->open(): Use theFuDevicesuperclass instead.FuUdevDevice->close(): Use theFuDevicesuperclass instead.
1.5.6
fu_device_get_protocol(): Usefu_device_get_protocols()instead.fu_device_set_protocol(): Usefu_device_add_protocol()instead.
1.6.2
fu_device_has_custom_flag(): Usefu_device_has_private_flag()instead.
1.6.3
fu_device_sleep_with_progress(): Usefu_progress_sleep()instead -- but be aware the unit of time has changed from seconds to milliseconds.fu_device_get_status(): Usefu_progress_get_status()instead.fu_device_set_status(): Usefu_progress_set_status()instead.fu_device_get_progress(): Usefu_progress_get_percentage()instead.fu_device_set_progress_full(): Usefu_progress_set_percentage_full()instead.fu_device_set_progress(): Usefu_progress_set_steps(),fu_progress_add_step()andfu_progress_done()-- see theFuProgressdocs for more details!
1.8.2
fu_udev_device_pread_full(): Usefu_udev_device_pread()instead -- as the latter now specifies the buffer length.fu_udev_device_pread_full(): Usefu_udev_device_pwrite()instead -- as the latter now specifies the buffer length.fu_udev_device_ioctl_full(): Usefu_udev_device_ioctl()instead -- as the latter now always specifies the timeout.fu_udev_device_new_full(): Usefu_udev_device_new()instead -- as the latter always specifies the context.fu_usb_device_new_full(): Usefu_usb_device_new()instead -- as the latter always specifies the context.fu_device_new_with_context(): Usefu_device_new()instead -- as the latter always specifies the context.fu_plugin_has_custom_flag(): Usefu_plugin_has_private_flag()instead.fu_efivar_secure_boot_enabled_full(): Usefu_efivar_secure_boot_enabled()instead -- as the latter always specifies the error.fu_progress_add_step(): Add a 4th parameter to the function to specify the nice name for the step, or NULL.fu_backend_setup(): Now requires aFuProgress, although it can be ignored.fu_backend_coldplug: Now requires aFuProgress, although it can be ignored.FuPluginVfuncs->setup: Now requires aFuProgress, although it can be ignored.FuPluginVfuncs->coldplug: Now requires aFuProgress, although it can be ignored.fu_common_crc*: Usefu_crcprefix, i.e. remove the_commonfu_common_sum*: Usefu_sumprefix, i.e. remove the_commonfu_byte_array_set_size_full(): Usefu_byte_array_set_sizeinstead -- as the latter now always specifies the fill char.fu_common_string*: Usefu_stringprefix, i.e. remove the_commonfu_common_bytes*: Usefu_bytesprefix, i.e. remove the_commonfu_common_set_contents_bytes(): Usefu_bytes_set_contents()insteadfu_common_get_contents_bytes(): Usefu_bytes_get_contents()insteadfu_common_read*: Usefu_memreadprefix, i.e. replace the_commonwith_memfu_common_write*: Usefu_memwriteprefix, i.e. replace the_commonwith_memfu_common_bytes_compare_raw(): Usefu_memcmp_safe()insteadfu_common_spawn_sync(): Useg_spawn_sync()instead, or ideally not at all!fu_common_extract_archive(): UseFuArchiveFirmware()instead.fu_common_instance_id_strsafe(): Usefu_device_add_instance_strsafe()instead.fu_common_kernel_locked_down(): Usefu_kernel_locked_downinstead.fu_common_check_kernel_version(): Usefu_kernel_check_versioninstead.fu_common_get_firmware_search_path(): Usefu_kernel_get_firmware_search_pathinstead.fu_common_set_firmware_search_path(): Usefu_kernel_set_firmware_search_pathinstead.fu_common_reset_firmware_search_path(): Usefu_kernel_reset_firmware_search_pathinstead.fu_common_firmware_builder(): You should not be using this.fu_common_realpath(): You should not be using this.fu_common_uri_get_scheme(): You should not be using this.fu_common_dump*: Usefu_dumpprefix, i.e. remove the_commonfu_common_error_array_get_best(): You should not be using this.fu_common_cpuid(): Usefu_cpuidinstead.fu_common_get_cpu_vendor(): Usefu_cpu_get_vendorinstead.fu_common_vercmp_full(): Usefu_version_compare()instead.fu_common_version_ensure_semver(): Usefu_version_ensure_semver()instead.fu_common_version_from_uint*(): Usefu_version_from_uint*()instead.fu_common_strtoull(): Usefu_strtoull()instead -- as the latter always specifies the error.fu_smbios_to_string(): Usefu_firmware_to_string()instead -- asFuSmbiosis aFuFirmwaresuperclass.fu_common_cab_build_silo(): You should not be using this.fu_i2c_device_read_full(): Usefu_i2c_device_readinstead.fu_i2c_device_write_full(): Usefu_i2c_device_writeinstead.fu_firmware_parse_full(): Remove theaddr_endparameter, and ensure thatoffsetis agsize.