--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bfile_heuristics.c Thu Oct 20 14:13:56 2011 +0200 @@ -0,0 +1,22 @@ +/* + * bfile_heuristics.c + * + * Created on: 20.10.2011 + * Author: Mike + */ + + +#include "bfile_heuristics.h" + +bfile_heuristics *new_bfile_heuristics(int level) { + bfile_heuristics *ret = malloc(sizeof(bfile_heuristics)); + ret->level = level; + memset(ret->ccount, 0, sizeof(int)*256); + return ret; +} + +bool bfile_check(bfile_heuristics *def, int next_char) { + bool ret = false; + + return ret; +}