]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - fec.c
More source code documentation.
[paraslash.git] / fec.c
diff --git a/fec.c b/fec.c
index 043a1f21869617869d2c6d0573bf71777611e2a3..f3e68454941e702ff7cb9ca78ca9a3b749998086 100644 (file)
--- a/fec.c
+++ b/fec.c
@@ -394,8 +394,13 @@ static void init_fec(void)
        fec_initialized = 1;
 }
 
+/** Internal FEC parameters. */
 struct fec_parms {
-       int k, n; /* parameters of the code */
+       /** Number of data slices. */
+       int k;
+       /** Number of slices (including redundant slices). */
+       int n;
+       /** The encoding matrix, computed by init_fec(). */
        unsigned char *enc_matrix;
 };