X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=fec.h;h=d09b035d89e02401227d69a377b3e6ecc2f52d25;hp=241cf9a48a46623813531b6bfb07a10597b4404d;hb=e8089cd5efad59a5eec689117acf563a38b8c6c7;hpb=625c5cd993d07a63061a0788f174e12fa1c221e0 diff --git a/fec.h b/fec.h index 241cf9a4..d09b035d 100644 --- a/fec.h +++ b/fec.h @@ -1,5 +1,6 @@ +/** \file fec.h Exported symbols from fec.c. */ + /* - * fec.c -- forward error correction based on Vandermonde matrices * 980614 * (C) 1997-98 Luigi Rizzo (luigi@iet.unipi.it) * @@ -32,8 +33,10 @@ * OF SUCH DAMAGE. */ -#define FEC_MAGIC 0xFECC0DEC +/** Each FEC slice contains a FEC header of this size. */ #define FEC_HEADER_SIZE 32 +/** The FEC header starts with this magic value. */ +#define FEC_MAGIC 0xFECC0DEC struct fec_parms; @@ -43,5 +46,3 @@ void fec_encode(struct fec_parms *parms, const unsigned char * const *src, unsigned char *dst, int idx, int sz); int fec_decode(struct fec_parms *parms, unsigned char **data, int *idx, int sz); - -