New API call burn_get_read_capacity_v2()

This commit is contained in:
2024-03-03 16:24:13 +01:00
parent f0d9795cd1
commit e5a8d91e4d
8 changed files with 51 additions and 30 deletions

View File

@ -4251,6 +4251,12 @@ int burn_random_access_write(struct burn_drive *d, off_t byte_address,
*/
int burn_get_read_capacity(struct burn_drive *d, int *capacity, int flag);
/* ts C40303 */
/** Like burn_get_read_capacity(), but with off_t result.
@since 1.5.8
*/
int burn_get_read_capacity_v2(struct burn_drive *d, off_t *capacity, int flag);
/* ts A70812 */
/** Read data in random access mode.