bfile_heuristics.c

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

     1 /*
     2  * bfile_heuristics.c
     3  *
     4  *  Created on: 20.10.2011
     5  *      Author: Mike
     6  */
     9 #include "bfile_heuristics.h"
    11 bfile_heuristics *new_bfile_heuristics(int level) {
    12    bfile_heuristics *ret = malloc(sizeof(bfile_heuristics));
    13    ret->level = level;
    14    memset(ret->ccount, 0, sizeof(int)*256);
    15    return ret;
    16 }
    18 bool bfile_check(bfile_heuristics *def, int next_char) {
    19    bool ret = false;
    21    return ret;
    22 }

mercurial