X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=mutt.h;h=7e8e4956e691b235686fe591f96d9353b2669406;hb=7812231df7873c4bf46059caa84b2fa009ae787d;hp=688d550af2d7886726d7bd3b5497a7755ebcdfcd;hpb=7e48409c3d6fb969706114b3c0962ffa0e112d37;p=apps%2Fmadmutt.git diff --git a/mutt.h b/mutt.h index 688d550..7e8e495 100644 --- a/mutt.h +++ b/mutt.h @@ -767,7 +767,7 @@ typedef struct thread { /* flag to mutt_pattern_comp() */ -#define M_FULL_MSG 1 /* enable body and header matching */ +#define M_FULL_MSG (1<<0) /* enable body and header matching */ typedef enum { M_MATCH_FULL_ADDRESS = 1 @@ -775,12 +775,14 @@ typedef enum { typedef struct pattern_t { short op; - short not; - short alladdr; + unsigned int not : 1; + unsigned int alladdr : 1; + unsigned int stringmatch : 1; int min; int max; struct pattern_t *next; struct pattern_t *child; /* arguments to logical op */ + char* str; regex_t *rx; } pattern_t;