bfile_heuristics.h

changeset 22
4508da679ffb
parent 21
91e0890464b0
child 27
95a958e3de88
     1.1 --- a/bfile_heuristics.h	Thu Oct 20 15:21:53 2011 +0200
     1.2 +++ b/bfile_heuristics.h	Thu Oct 20 17:29:23 2011 +0200
     1.3 @@ -17,7 +17,8 @@
     1.4  
     1.5  typedef struct {
     1.6    int level;
     1.7 -  int *ccount;
     1.8 +  int bcount; /* 'binary' character count */
     1.9 +  int tcount; /* total count */
    1.10  } bfile_heuristics_t;
    1.11  
    1.12  #ifdef _cplusplus
    1.13 @@ -26,6 +27,7 @@
    1.14  
    1.15  bfile_heuristics_t *new_bfile_heuristics_t();
    1.16  void destroy_bfile_heuristics_t(bfile_heuristics_t *def);
    1.17 +void bfile_reset(bfile_heuristics_t *def);
    1.18  bool bfile_check(bfile_heuristics_t *def, int next_char);
    1.19  
    1.20  #ifdef _cplusplus

mercurial