device: Add API for perstistent data storage

API consumers should fetch the persistent data when they are done and
store it to disk. It is undefined when this data is updated by the
driver, but in general, it should only be updated once the first time
a device is used.
This commit is contained in:
Benjamin Berg
2022-07-11 19:41:43 +02:00
committed by saeedark
parent 596b5f8032
commit 7c97dcd985
5 changed files with 220 additions and 0 deletions

View File

@@ -40,6 +40,8 @@ fp_device_has_feature
fp_device_has_storage
fp_device_supports_identify
fp_device_supports_capture
fp_device_get_persistent_data
fp_device_set_persistent_data
fp_device_is_open
fp_device_open
fp_device_close