From: Eric S. Raymond Date: Fri, 19 Sep 2003 12:40:55 +0000 (+0000) Subject: Move some flags. X-Git-Tag: 2.1~5 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=d71186d6af6d1e1018f10cf1b6a575c259e0f0a5;p=comparator.git Move some flags. --- diff --git a/shred.h b/shred.h index 585e6bc..df92ccc 100644 --- a/shred.h +++ b/shred.h @@ -32,8 +32,6 @@ struct hash_t hashval_t hash; flag_t flags; #define INSIGNIFICANT 0x40 /* pure syntax in a programming language */ -#define C_CODE 0x01 /* identified as C code */ -#define SHELL_CODE 0x02 /* identified as shell code */ #define CATEGORIZED 0x03 /* we can significance-test this */ #define INTERNAL_FLAG 0x80 /* internal use only */ }; @@ -72,6 +70,10 @@ struct analyzer_t /* structure describing a feature analyzer */ void (*dump)(char *); }; +/* mode bits for controlling the analyzer */ +#define C_CODE 0x01 /* identified as C code */ +#define SHELL_CODE 0x02 /* identified as shell code */ + /* control bits, meant to be set at startup */ extern int verbose, debug, nofilter; extern int shredsize, minsize;