# HG changeset patch # User Mike Becker # Date 1319112836 -7200 # Node ID 43725438ac504d963ee98e89e1159a518c7f8603 # Parent 8bac9fd0629dfd9b43718074ac9d048373e233fa Changed author comments + added signatures for upcomming bfile heuristics diff -r 8bac9fd0629d -r 43725438ac50 .cproject --- a/.cproject Sun Oct 16 12:20:52 2011 +0200 +++ b/.cproject Thu Oct 20 14:13:56 2011 +0200 @@ -51,15 +51,6 @@ - - - - - - - - - @@ -80,4 +71,13 @@ + + + + + + + + + diff -r 8bac9fd0629d -r 43725438ac50 arguments.c --- a/arguments.c Sun Oct 16 12:20:52 2011 +0200 +++ b/arguments.c Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * arguments.c * * Created on: 15.09.2011 - * Author: beckermi + * Author: Mike */ #include "arguments.h" diff -r 8bac9fd0629d -r 43725438ac50 arguments.h --- a/arguments.h Sun Oct 16 12:20:52 2011 +0200 +++ b/arguments.h Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * arguments.h * * Created on: 15.09.2011 - * Author: beckermi + * Author: Mike */ #ifndef ARGUMENTS_H_ diff -r 8bac9fd0629d -r 43725438ac50 bfile_heuristics.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bfile_heuristics.c Thu Oct 20 14:13:56 2011 +0200 @@ -0,0 +1,22 @@ +/* + * bfile_heuristics.c + * + * Created on: 20.10.2011 + * Author: Mike + */ + + +#include "bfile_heuristics.h" + +bfile_heuristics *new_bfile_heuristics(int level) { + bfile_heuristics *ret = malloc(sizeof(bfile_heuristics)); + ret->level = level; + memset(ret->ccount, 0, sizeof(int)*256); + return ret; +} + +bool bfile_check(bfile_heuristics *def, int next_char) { + bool ret = false; + + return ret; +} diff -r 8bac9fd0629d -r 43725438ac50 bfile_heuristics.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bfile_heuristics.h Thu Oct 20 14:13:56 2011 +0200 @@ -0,0 +1,30 @@ +/* + * 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_ */ \ No newline at end of file diff -r 8bac9fd0629d -r 43725438ac50 cline.c --- a/cline.c Sun Oct 16 12:20:52 2011 +0200 +++ b/cline.c Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * cline.c * * Created on: 23.05.2011 - * Author: beckermi + * Author: Mike */ #include "cline.h" diff -r 8bac9fd0629d -r 43725438ac50 cline.h --- a/cline.h Sun Oct 16 12:20:52 2011 +0200 +++ b/cline.h Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * cline.h * * Created on: 23.05.2011 - * Author: beckermi + * Author: Mike */ #ifndef CLINE_H_ diff -r 8bac9fd0629d -r 43725438ac50 scanner.c --- a/scanner.c Sun Oct 16 12:20:52 2011 +0200 +++ b/scanner.c Thu Oct 20 14:13:56 2011 +0200 @@ -1,8 +1,8 @@ /* - * functions.c + * scanner.c * * Created on: 23.05.2011 - * Author: beckermi + * Author: Mike */ diff -r 8bac9fd0629d -r 43725438ac50 scanner.h --- a/scanner.h Sun Oct 16 12:20:52 2011 +0200 +++ b/scanner.h Thu Oct 20 14:13:56 2011 +0200 @@ -1,8 +1,8 @@ /* - * functions.h + * scanner.h * * Created on: 23.05.2011 - * Author: beckermi + * Author: Mike */ #ifndef SCANNER_H_ diff -r 8bac9fd0629d -r 43725438ac50 settings.c --- a/settings.c Sun Oct 16 12:20:52 2011 +0200 +++ b/settings.c Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * settings.c * * Created on: 15.09.2011 - * Author: beckermi + * Author: Mike */ #include "settings.h" diff -r 8bac9fd0629d -r 43725438ac50 settings.h --- a/settings.h Sun Oct 16 12:20:52 2011 +0200 +++ b/settings.h Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * settings.h * * Created on: 15.09.2011 - * Author: beckermi + * Author: Mike */ #ifndef SETTINGS_H_ diff -r 8bac9fd0629d -r 43725438ac50 stdinc.h --- a/stdinc.h Sun Oct 16 12:20:52 2011 +0200 +++ b/stdinc.h Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * stdinc.h * * Created on: 15.09.2011 - * Author: beckermi + * Author: Mike */ #ifndef STDINC_H_ diff -r 8bac9fd0629d -r 43725438ac50 stream.c --- a/stream.c Sun Oct 16 12:20:52 2011 +0200 +++ b/stream.c Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * stream.c * * Created on: 20.09.2011 - * Author: beckermi + * Author: Mike */ #include "stream.h" diff -r 8bac9fd0629d -r 43725438ac50 stream.h --- a/stream.h Sun Oct 16 12:20:52 2011 +0200 +++ b/stream.h Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * stream.h * * Created on: 20.09.2011 - * Author: beckermi + * Author: Mike */ #ifndef STREAM_H_ diff -r 8bac9fd0629d -r 43725438ac50 string_list.c --- a/string_list.c Sun Oct 16 12:20:52 2011 +0200 +++ b/string_list.c Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * string_list.c * * Created on: 15.09.2011 - * Author: beckermi + * Author: Mike */ #include "string_list.h" diff -r 8bac9fd0629d -r 43725438ac50 string_list.h --- a/string_list.h Sun Oct 16 12:20:52 2011 +0200 +++ b/string_list.h Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * string_list.h * * Created on: 15.09.2011 - * Author: beckermi + * Author: Mike */ #ifndef STRING_LIST_H_ diff -r 8bac9fd0629d -r 43725438ac50 suffix_fnc.c --- a/suffix_fnc.c Sun Oct 16 12:20:52 2011 +0200 +++ b/suffix_fnc.c Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * suffix_fnc.c * * Created on: 15.09.2011 - * Author: beckermi + * Author: Mike */ #include "suffix_fnc.h" diff -r 8bac9fd0629d -r 43725438ac50 suffix_fnc.h --- a/suffix_fnc.h Sun Oct 16 12:20:52 2011 +0200 +++ b/suffix_fnc.h Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * suffix_fnc.h * * Created on: 15.09.2011 - * Author: beckermi + * Author: Mike */ #ifndef SUFFIX_FNC_H_