projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
mutt.h
diff --git
a/mutt.h
b/mutt.h
index
8394be2
..
7e8e495
100644
(file)
--- a/
mutt.h
+++ b/
mutt.h
@@
-192,6
+192,7
@@
enum {
M_REFERENCE,
M_RECIPIENT,
M_LIST,
M_REFERENCE,
M_RECIPIENT,
M_LIST,
+ M_SUBSCRIBED_LIST,
M_PERSONAL_RECIP,
M_PERSONAL_FROM,
M_ADDRESS,
M_PERSONAL_RECIP,
M_PERSONAL_FROM,
M_ADDRESS,
@@
-766,7
+767,7
@@
typedef struct thread {
/* flag to mutt_pattern_comp() */
/* 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
typedef enum {
M_MATCH_FULL_ADDRESS = 1
@@
-774,12
+775,14
@@
typedef enum {
typedef struct pattern_t {
short op;
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 */
int min;
int max;
struct pattern_t *next;
struct pattern_t *child; /* arguments to logical op */
+ char* str;
regex_t *rx;
} pattern_t;
regex_t *rx;
} pattern_t;