X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/14c29200cb58d3c4a0830265f2433849781858d0..b09ee204d1b5bdba9dbc99691a6caf08e5cc4af2:/mutt.h diff --git a/mutt.h b/mutt.h index fb5a3e9..a0e3354 100644 --- a/mutt.h +++ b/mutt.h @@ -35,6 +35,12 @@ #include #include #include +/* On OS X 10.5.x, wide char functions are inlined by default breaking + * --without-wc-funcs compilation + */ +#ifdef __APPLE_CC__ +#define _DONT_USE_CTYPE_INLINE_ +#endif #ifdef HAVE_WCHAR_H # include #endif @@ -75,26 +81,6 @@ #include "mutt_regex.h" -/* flags for mutt_copy_header() */ -#define CH_UPDATE 1 /* update the status and x-status fields? */ -#define CH_WEED (1<<1) /* weed the headers? */ -#define CH_DECODE (1<<2) /* do RFC1522 decoding? */ -#define CH_XMIT (1<<3) /* transmitting this message? */ -#define CH_FROM (1<<4) /* retain the "From " message separator? */ -#define CH_PREFIX (1<<5) /* use Prefix string? */ -#define CH_NOSTATUS (1<<6) /* supress the status and x-status fields */ -#define CH_REORDER (1<<7) /* Re-order output of headers */ -#define CH_NONEWLINE (1<<8) /* don't output terminating newline */ -#define CH_MIME (1<<9) /* ignore MIME fields */ -#define CH_UPDATE_LEN (1<<10) /* update Lines: and Content-Length: */ -#define CH_TXTPLAIN (1<<11) /* generate text/plain MIME headers */ -#define CH_NOLEN (1<<12) /* don't write Content-Length: and Lines: */ -#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 */ #define M_FILE (1<<1) /* do file completion */ @@ -278,6 +264,7 @@ enum OPT_COPY, OPT_DELETE, OPT_FORWEDIT, + OPT_FCCATTACH, OPT_INCLUDE, OPT_MFUPTO, OPT_MIMEFWD, @@ -351,7 +338,6 @@ enum OPTENCODEFROM, OPTENVFROM, OPTFASTREPLY, - OPTFCCATTACH, OPTFCCCLEAR, OPTFOLLOWUPTO, OPTFORCENAME, @@ -359,7 +345,7 @@ enum OPTFORWQUOTE, #ifdef USE_HCACHE OPTHCACHEVERIFY, -#ifdef HAVE_QDBM +#if defined(HAVE_QDBM) || defined(HAVE_TC) OPTHCACHECOMPRESS, #endif /* HAVE_QDBM */ #endif @@ -372,6 +358,7 @@ enum OPTHIDETHREADSUBJECT, OPTHIDETOPLIMITED, OPTHIDETOPMISSING, + OPTHONORDISP, OPTIGNORELWS, OPTIGNORELISTREPLYTO, #ifdef USE_IMAP @@ -390,6 +377,8 @@ enum OPTSSLV3, OPTTLSV1, OPTSSLFORCETLS, + OPTSSLVERIFYDATES, + OPTSSLVERIFYHOST, #endif /* defined(USE_SSL) */ OPTIMPLICITAUTOVIEW, OPTINCLUDEONLYFIRST, @@ -564,6 +553,7 @@ int mutt_matches_ignore (const char *, LIST *); /* add an element to a list */ LIST *mutt_add_list (LIST *, const char *); LIST *mutt_add_list_n (LIST*, const void *, size_t); +LIST *mutt_find_list (LIST *, const char *); void mutt_init (int, LIST *); @@ -829,6 +819,7 @@ typedef struct pattern_t unsigned int alladdr : 1; unsigned int stringmatch : 1; unsigned int groupmatch : 1; + unsigned int ign_case : 1; /* ignore case for local stringmatch searches */ int min; int max; struct pattern_t *next; @@ -937,6 +928,8 @@ typedef struct #define state_reset_prefix(s) ((s)->flags &= ~M_PENDINGPREFIX) #define state_puts(x,y) fputs(x,(y)->fpout) #define state_putc(x,y) fputc(x,(y)->fpout) +#define state_putws(x,y) fputws(x,(y)->fpout) +#define state_putwc(x,y) fputwc(x,(y)->fpout) void state_mark_attach (STATE *); void state_attach_puts (const char *, STATE *);