diff -r 8bac9fd0629d -r 43725438ac50 bfile_heuristics.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bfile_heuristics.h Thu Oct 20 14:13:56 2011 +0200 @@ -0,0 +1,30 @@ +/* + * bfile_heuristics.h + * + * Created on: 20.10.2011 + * Author: Mike + */ + +#ifndef BFILE_HEURISTICS_H_ +#define BFILE_HEURISTICS_H_ + +#include "stdinc.h" +#include "settings.h" + +#ifdef _cplusplus +extern "C" { +#endif + +typedef struct { + int level; + int ccount[256]; +} bfile_heuristics; + +bfile_heuristics *new_bfile_heuristics(int level); +bool bfile_check(bfile_heuristics *def, int next_char); + +#ifdef _cplusplus +} +#endif + +#endif /* BFILE_HEURISTICS_H_ */ \ No newline at end of file