bfile_heuristics.h

Thu, 20 Oct 2011 15:21:53 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 20 Oct 2011 15:21:53 +0200
changeset 21
91e0890464b0
parent 20
43725438ac50
child 22
4508da679ffb
permissions
-rw-r--r--

implemented bfile heuristics option + TODO: implement algorithm

     1 /*
     2  * bfile_heuristics.h
     3  *
     4  *  Created on: 20.10.2011
     5  *      Author: Mike
     6  */
     8 #ifndef BFILE_HEURISTICS_H_
     9 #define BFILE_HEURISTICS_H_
    11 #include "stdinc.h"
    13 #define BFILE_IGNORE           0x00
    14 #define BFILE_LOW_ACCURACY     0x01
    15 #define BFILE_MEDIUM_ACCURACY  0x02
    16 #define BFILE_HIGH_ACCURACY    0x04
    18 typedef struct {
    19   int level;
    20   int *ccount;
    21 } bfile_heuristics_t;
    23 #ifdef _cplusplus
    24 extern "C" {
    25 #endif
    27 bfile_heuristics_t *new_bfile_heuristics_t();
    28 void destroy_bfile_heuristics_t(bfile_heuristics_t *def);
    29 bool bfile_check(bfile_heuristics_t *def, int next_char);
    31 #ifdef _cplusplus
    32 }
    33 #endif
    35 #endif /* BFILE_HEURISTICS_H_ */

mercurial