Adjust auto erasure coding setter.

This commit is contained in:
2026-04-11 22:49:41 +01:00
parent 98867de2bc
commit 0811c4de50
2 changed files with 32 additions and 32 deletions

View File

@@ -294,6 +294,6 @@ AARU_EXPORT TARGET_WITH_SIMD uint64_t AARU_CALL aaruf_crc64_vmull(uint64_t previ
/* Erasure coding */
AARU_EXPORT int32_t AARU_CALL aaruf_set_erasure_coding(void *context, uint8_t algorithm, uint16_t K, uint16_t M);
AARU_EXPORT int32_t AARU_CALL aaruf_set_erasure_coding_auto(void *context, double recovery_fraction);
AARU_EXPORT int32_t AARU_CALL aaruf_set_erasure_coding_auto(void *context, uint8_t recovery_percent);
#endif // LIBAARUFORMAT_DECLS_H