liberasurecode
1.6.2
Erasure Code API library
|
#include <stdlib.h>
#include <stdint.h>
Go to the source code of this file.
Functions | |
void * | null_code_init (int k, int m, int hd) |
int | null_code_encode (void *code_desc, char **data, char **parity, int blocksize) |
int | null_code_decode (void *code_desc, char **data, char **parity, int *missing_idxs, int blocksize, int decode_parity) |
int | null_reconstruct (char **available_fragments, int num_fragments, uint64_t fragment_len, int destination_idx, char *out_fragment) |
int | null_code_fragments_needed (void *code_desc, int *missing_idxs, int *fragments_needed) |
int null_code_decode | ( | void * | code_desc, |
char ** | data, | ||
char ** | parity, | ||
int * | missing_idxs, | ||
int | blocksize, | ||
int | decode_parity | ||
) |
Definition at line 48 of file null_code.c.
int null_code_encode | ( | void * | code_desc, |
char ** | data, | ||
char ** | parity, | ||
int | blocksize | ||
) |
Definition at line 40 of file null_code.c.
int null_code_fragments_needed | ( | void * | code_desc, |
int * | missing_idxs, | ||
int * | fragments_needed | ||
) |
Definition at line 64 of file null_code.c.
void* null_code_init | ( | int | k, |
int | m, | ||
int | hd | ||
) |
Definition at line 33 of file null_code.c.
int null_reconstruct | ( | char ** | available_fragments, |
int | num_fragments, | ||
uint64_t | fragment_len, | ||
int | destination_idx, | ||
char * | out_fragment | ||
) |
Definition at line 56 of file null_code.c.