bfile_heuristics.h

changeset 20
43725438ac50
child 21
91e0890464b0
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/bfile_heuristics.h	Thu Oct 20 14:13:56 2011 +0200
     1.3 @@ -0,0 +1,30 @@
     1.4 +/*
     1.5 + * bfile_heuristics.h
     1.6 + *
     1.7 + *  Created on: 20.10.2011
     1.8 + *      Author: Mike
     1.9 + */
    1.10 +
    1.11 +#ifndef BFILE_HEURISTICS_H_
    1.12 +#define BFILE_HEURISTICS_H_
    1.13 +
    1.14 +#include "stdinc.h"
    1.15 +#include "settings.h"
    1.16 +
    1.17 +#ifdef _cplusplus
    1.18 +extern "C" {
    1.19 +#endif
    1.20 +
    1.21 +typedef struct {
    1.22 +   int level;
    1.23 +   int ccount[256];
    1.24 +} bfile_heuristics;
    1.25 +
    1.26 +bfile_heuristics *new_bfile_heuristics(int level);
    1.27 +bool bfile_check(bfile_heuristics *def, int next_char);
    1.28 +
    1.29 +#ifdef _cplusplus
    1.30 +}
    1.31 +#endif
    1.32 +
    1.33 +#endif /* BFILE_HEURISTICS_H_ */
    1.34 \ No newline at end of file

mercurial