summaryrefslogtreecommitdiff
path: root/include/xor_codes/xor_code.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xor_codes/xor_code.h')
-rw-r--r--include/xor_codes/xor_code.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xor_codes/xor_code.h b/include/xor_codes/xor_code.h
index 8c251fd..912dcde 100644
--- a/include/xor_codes/xor_code.h
+++ b/include/xor_codes/xor_code.h
@@ -56,7 +56,7 @@ typedef struct xor_code_s
int hd;
int *parity_bms;
int *data_bms;
- void (*decode)(struct xor_code_s *code_desc, char **data, char **parity, int *missing_idxs, int blocksize, int decode_parity);
+ int (*decode)(struct xor_code_s *code_desc, char **data, char **parity, int *missing_idxs, int blocksize, int decode_parity);
void (*encode)(struct xor_code_s *code_desc, char **data, char **parity, int blocksize);
int (*fragments_needed)(struct xor_code_s *code_desc, int *missing_idxs, int *fragments_needed);
} xor_code_t;