diff -r 91e0890464b0 -r 4508da679ffb bfile_heuristics.h --- a/bfile_heuristics.h Thu Oct 20 15:21:53 2011 +0200 +++ b/bfile_heuristics.h Thu Oct 20 17:29:23 2011 +0200 @@ -17,7 +17,8 @@ typedef struct { int level; - int *ccount; + int bcount; /* 'binary' character count */ + int tcount; /* total count */ } bfile_heuristics_t; #ifdef _cplusplus @@ -26,6 +27,7 @@ bfile_heuristics_t *new_bfile_heuristics_t(); void destroy_bfile_heuristics_t(bfile_heuristics_t *def); +void bfile_reset(bfile_heuristics_t *def); bool bfile_check(bfile_heuristics_t *def, int next_char); #ifdef _cplusplus