X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=mutt.h;h=545247268f51e2aef16bde402e68c56ae26189ed;hb=9f2abc10bfcd2cbefd7dd040b7509b2942a7c425;hp=2566e24df5f17cb3f475de7b6991e7fb997aeb4e;hpb=fa54675b6ceb98bce1a8931b7cc5b70ecedf4225;p=apps%2Fmadmutt.git diff --git a/mutt.h b/mutt.h index 2566e24..5452472 100644 --- a/mutt.h +++ b/mutt.h @@ -167,7 +167,6 @@ enum { M_LIMIT, M_EXPIRED, M_SUPERSEDED, - M_REALNAME, /* actions for mutt_pattern_comp/mutt_pattern_exec */ M_AND, @@ -193,6 +192,7 @@ enum { M_REFERENCE, M_RECIPIENT, M_LIST, + M_SUBSCRIBED_LIST, M_PERSONAL_RECIP, M_PERSONAL_FROM, M_ADDRESS, @@ -204,6 +204,8 @@ enum { #ifdef USE_NNTP M_NEWSGROUPS, #endif + M_REALNAME, + M_MULTIPART, /* Options for Mailcap lookup */ M_EDIT, @@ -233,6 +235,7 @@ enum { /* quad-option vars */ enum { OPT_ABORT, + OPT_ATTACH, OPT_BOUNCE, OPT_COPY, OPT_DELETE, @@ -434,6 +437,7 @@ enum { OPTWRAPSEARCH, OPTWRITEBCC, /* write out a bcc header? */ OPTXMAILER, + OPTXMAILTO, /* 1 if $edit_header is forcebly set */ OPTXTERMSETTITLES, OPTCRYPTUSEGPGME, @@ -605,7 +609,7 @@ typedef struct body { * attachment */ long offset; /* offset where the actual data begins */ - long length; /* length (in bytes) of attachment */ + LOFF_T length; /* length (in bytes) of attachment */ char *filename; /* when sending a message, this is the file * to which this structure refers */ @@ -670,7 +674,7 @@ typedef struct header { unsigned int security:11; /* bit 0-6: flags, bit 7,8: application. see: crypt.h pgplib.h, smime.h */ - unsigned int mime:1; /* has a Mime-Version header? */ + unsigned int mime:1; /* has a MIME-Version header? */ unsigned int flagged:1; /* marked important? */ unsigned int tagged:1; unsigned int appended:1; /* has been saved */ @@ -763,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 @@ -771,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;