bfile_heuristics.h

changeset 22
4508da679ffb
parent 21
91e0890464b0
child 27
95a958e3de88
--- 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

mercurial