Thu, 20 Oct 2011 14:13:56 +0200
Changed author comments + added signatures for upcomming bfile heuristics
universe@20 | 1 | /* |
universe@20 | 2 | * bfile_heuristics.c |
universe@20 | 3 | * |
universe@20 | 4 | * Created on: 20.10.2011 |
universe@20 | 5 | * Author: Mike |
universe@20 | 6 | */ |
universe@20 | 7 | |
universe@20 | 8 | |
universe@20 | 9 | #include "bfile_heuristics.h" |
universe@20 | 10 | |
universe@20 | 11 | bfile_heuristics *new_bfile_heuristics(int level) { |
universe@20 | 12 | bfile_heuristics *ret = malloc(sizeof(bfile_heuristics)); |
universe@20 | 13 | ret->level = level; |
universe@20 | 14 | memset(ret->ccount, 0, sizeof(int)*256); |
universe@20 | 15 | return ret; |
universe@20 | 16 | } |
universe@20 | 17 | |
universe@20 | 18 | bool bfile_check(bfile_heuristics *def, int next_char) { |
universe@20 | 19 | bool ret = false; |
universe@20 | 20 | |
universe@20 | 21 | return ret; |
universe@20 | 22 | } |