From d71186d6af6d1e1018f10cf1b6a575c259e0f0a5 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 19 Sep 2003 12:40:55 +0000 Subject: [PATCH] Move some flags. --- shred.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; -- 2.43.0