X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt.h;h=467ea421114a54b533c1cf42328b546e5e10f8a4;hp=c99861c1b2a5dabe9b03f70cf0989e338391570d;hb=d7c69d8f0180e24b9ee48088d08090df7b4e27c2;hpb=6e0187ce721be4997bef32d724528f8976df89d6 diff --git a/mutt.h b/mutt.h index c99861c..467ea42 100644 --- a/mutt.h +++ b/mutt.h @@ -94,6 +94,8 @@ #define CH_WEED_DELIVERED (1<<13) /* weed eventual Delivered-To headers */ #define CH_FORCE_FROM (1<<14) /* give CH_FROM precedence over CH_WEED? */ #define CH_NOQFROM (1<<15) /* give CH_FROM precedence over CH_WEED? */ +#define CH_UPDATE_IRT (1<<16) /* update In-Reply-To: */ +#define CH_UPDATE_REFS (1<<17) /* update References: */ /* flags for mutt_enter_string() */ #define M_ALIAS 1 /* do alias "completion" by calling up the alias-menu */ @@ -282,6 +284,9 @@ enum OPT_DELETE, OPT_FORWEDIT, OPT_INCLUDE, +#ifdef USE_IMAP + OPT_IMAPRECONNECT, +#endif OPT_MFUPTO, OPT_MIMEFWD, OPT_MIMEFWDREST, @@ -296,7 +301,7 @@ enum OPT_QUIT, OPT_REPLYTO, OPT_RECALL, -#ifdef USE_SSL +#if defined(USE_SSL) || defined(USE_GNUTLS) OPT_SSLSTARTTLS, #endif OPT_SUBJECT, @@ -365,6 +370,9 @@ enum OPTFORCENAME, OPTFORWDECODE, OPTFORWQUOTE, +#if USE_HCACHE + OPTHCACHEVERIFY, +#endif OPTHDRS, OPTHEADER, OPTHELP, @@ -379,15 +387,19 @@ enum OPTIMAPPASSIVE, OPTIMAPPEEK, OPTIMAPSERVERNOISE, -# ifdef USE_SSL +# if defined(USE_SSL) || defined(USE_GNUTLS) OPTIMAPFORCESSL, # endif #endif -#if defined(USE_SSL) || defined(USE_NSS) +#if defined(USE_SSL) || defined(USE_NSS) || defined(USE_GNUTLS) +# ifndef USE_GNUTLS OPTSSLV2, +# endif OPTSSLV3, OPTTLSV1, +# ifndef USE_GNUTLS OPTSSLSYSTEMCERTS, +# endif #endif OPTIMPLICITAUTOVIEW, OPTKEEPFLAGGED, @@ -560,8 +572,8 @@ typedef struct rx_list_t #define mutt_new_rx_list() safe_calloc (1, sizeof (RX_LIST)) void mutt_free_list (LIST **); void mutt_free_rx_list (RX_LIST **); +LIST *mutt_copy_list (LIST *); int mutt_matches_ignore (const char *, LIST *); - /* add an element to a list */ LIST *mutt_add_list (LIST *, const char *); @@ -710,6 +722,8 @@ typedef struct header unsigned int subject_changed : 1; /* used for threading */ unsigned int threaded : 1; /* used for threading */ unsigned int display_subject : 1; /* used for threading */ + unsigned int irt_changed : 1; /* In-Reply-To changed to link/break threads */ + unsigned int refs_changed : 1; /* References changed to break thread */ unsigned int recip_valid : 1; /* is_recipient is valid */ unsigned int active : 1; /* message is not to be removed */ unsigned int trash : 1; /* message is marked as trashed on disk. @@ -753,6 +767,10 @@ typedef struct header char *tree; /* character string to print thread tree */ struct thread *thread; +#ifdef IMAP_EDIT_THREADS + ENVELOPE *new_env; /* envelope information for rethreading */ +#endif + #ifdef MIXMASTER LIST *chain; #endif @@ -817,6 +835,7 @@ typedef struct char *pattern; /* limit pattern string */ pattern_t *limit_pattern; /* compiled limit pattern */ HEADER **hdrs; + HEADER *last_tag; /* last tagged msg. used to link threads */ THREAD *tree; /* top of thread tree */ HASH *id_hash; /* hash table by msg id */ HASH *subj_hash; /* hash table by subject */