Document reencryption process status callbak return code.

This commit is contained in:
Milan Broz
2024-08-13 09:14:00 +02:00
parent 42f4a68705
commit da09835b6c

View File

@@ -3021,6 +3021,8 @@ __attribute__((deprecated));
* @param usrptr progress specific data
*
* @return @e 0 on success or negative errno value otherwise.
*
* @note A @e progress callback can interrupt reencryption process by returning non-zero code.
*/
int crypt_reencrypt_run(struct crypt_device *cd,
int (*progress)(uint64_t size, uint64_t offset, void *usrptr),