|
1 /* |
|
2 * bfile_heuristics.h |
|
3 * |
|
4 * Created on: 20.10.2011 |
|
5 * Author: Mike |
|
6 */ |
|
7 |
|
8 #ifndef BFILE_HEURISTICS_H_ |
|
9 #define BFILE_HEURISTICS_H_ |
|
10 |
|
11 #include "stdinc.h" |
|
12 #include "settings.h" |
|
13 |
|
14 #ifdef _cplusplus |
|
15 extern "C" { |
|
16 #endif |
|
17 |
|
18 typedef struct { |
|
19 int level; |
|
20 int ccount[256]; |
|
21 } bfile_heuristics; |
|
22 |
|
23 bfile_heuristics *new_bfile_heuristics(int level); |
|
24 bool bfile_check(bfile_heuristics *def, int next_char); |
|
25 |
|
26 #ifdef _cplusplus |
|
27 } |
|
28 #endif |
|
29 |
|
30 #endif /* BFILE_HEURISTICS_H_ */ |