bfile_heuristics.h

Thu, 20 Oct 2011 14:13:56 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 20 Oct 2011 14:13:56 +0200
changeset 20
43725438ac50
child 21
91e0890464b0
permissions
-rw-r--r--

Changed author comments + added signatures for upcomming bfile heuristics

/*
 * bfile_heuristics.h
 *
 *  Created on: 20.10.2011
 *      Author: Mike
 */

#ifndef BFILE_HEURISTICS_H_
#define BFILE_HEURISTICS_H_

#include "stdinc.h"
#include "settings.h"

#ifdef _cplusplus
extern "C" {
#endif

typedef struct {
   int level;
   int ccount[256];
} bfile_heuristics;

bfile_heuristics *new_bfile_heuristics(int level);
bool bfile_check(bfile_heuristics *def, int next_char);

#ifdef _cplusplus
}
#endif

#endif /* BFILE_HEURISTICS_H_ */

mercurial