bfile_heuristics.c

changeset 20
43725438ac50
child 21
91e0890464b0
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/bfile_heuristics.c	Thu Oct 20 14:13:56 2011 +0200
     1.3 @@ -0,0 +1,22 @@
     1.4 +/*
     1.5 + * bfile_heuristics.c
     1.6 + *
     1.7 + *  Created on: 20.10.2011
     1.8 + *      Author: Mike
     1.9 + */
    1.10 +
    1.11 +
    1.12 +#include "bfile_heuristics.h"
    1.13 +
    1.14 +bfile_heuristics *new_bfile_heuristics(int level) {
    1.15 +   bfile_heuristics *ret = malloc(sizeof(bfile_heuristics));
    1.16 +   ret->level = level;
    1.17 +   memset(ret->ccount, 0, sizeof(int)*256);
    1.18 +   return ret;
    1.19 +}
    1.20 +
    1.21 +bool bfile_check(bfile_heuristics *def, int next_char) {
    1.22 +   bool ret = false;
    1.23 +   
    1.24 +   return ret;
    1.25 +}

mercurial