Changeset 5468:96b0dd25a550

Show
Ignore:
Timestamp:
2008-07-21 07:24:58 (4 months ago)
Author:
Aron Griffis <agriffis@…>
Branch:
HEAD
Message:

noop cleanup: move mutt_copy_header flags to copy.h

Noticed while reading that these flags are better defined in copy.h than mutt.h.
Builds without warnings.

Signed-off-by: Aron Griffis <agriffis@…>

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • copy.h

    r4439 r5468  
    2828#define M_CM_REPLYING   (1<<8)  /* replying the message */ 
    2929 
    30  
    3130#define M_CM_DECODE_PGP   (1<<9) /* used for decoding PGP messages */ 
    3231#define M_CM_DECODE_SMIME (1<<10) /* used for decoding S/MIME messages */ 
    3332#define M_CM_DECODE_CRYPT  (M_CM_DECODE_PGP | M_CM_DECODE_SMIME) 
    3433 
    35  
    3634#define M_CM_VERIFY     (1<<11) /* do signature verification */ 
    3735 
     36/* flags for mutt_copy_header() */ 
     37#define CH_UPDATE         1       /* update the status and x-status fields? */ 
     38#define CH_WEED           (1<<1)  /* weed the headers? */ 
     39#define CH_DECODE         (1<<2)  /* do RFC1522 decoding? */ 
     40#define CH_XMIT           (1<<3)  /* transmitting this message? */ 
     41#define CH_FROM           (1<<4)  /* retain the "From " message separator? */ 
     42#define CH_PREFIX         (1<<5)  /* use Prefix string? */ 
     43#define CH_NOSTATUS       (1<<6)  /* suppress the status and x-status fields */ 
     44#define CH_REORDER        (1<<7)  /* Re-order output of headers */ 
     45#define CH_NONEWLINE      (1<<8)  /* don't output terminating newline */ 
     46#define CH_MIME           (1<<9)  /* ignore MIME fields */ 
     47#define CH_UPDATE_LEN     (1<<10) /* update Lines: and Content-Length: */ 
     48#define CH_TXTPLAIN       (1<<11) /* generate text/plain MIME headers */ 
     49#define CH_NOLEN          (1<<12) /* don't write Content-Length: and Lines: */ 
     50#define CH_WEED_DELIVERED (1<<13) /* weed eventual Delivered-To headers */ 
     51#define CH_FORCE_FROM     (1<<14) /* give CH_FROM precedence over CH_WEED? */ 
     52#define CH_NOQFROM        (1<<15) /* ignore ">From " line */ 
     53#define CH_UPDATE_IRT     (1<<16) /* update In-Reply-To: */ 
     54#define CH_UPDATE_REFS    (1<<17) /* update References: */ 
    3855 
    3956 
  • mutt.h

    r5199 r5468  
    7575 
    7676#include "mutt_regex.h" 
    77  
    78 /* flags for mutt_copy_header() */ 
    79 #define CH_UPDATE       1      /* update the status and x-status fields? */ 
    80 #define CH_WEED         (1<<1) /* weed the headers? */ 
    81 #define CH_DECODE       (1<<2) /* do RFC1522 decoding? */ 
    82 #define CH_XMIT         (1<<3) /* transmitting this message? */ 
    83 #define CH_FROM         (1<<4) /* retain the "From " message separator? */ 
    84 #define CH_PREFIX       (1<<5) /* use Prefix string? */ 
    85 #define CH_NOSTATUS     (1<<6) /* supress the status and x-status fields */ 
    86 #define CH_REORDER      (1<<7) /* Re-order output of headers */ 
    87 #define CH_NONEWLINE    (1<<8) /* don't output terminating newline */ 
    88 #define CH_MIME         (1<<9) /* ignore MIME fields */ 
    89 #define CH_UPDATE_LEN   (1<<10) /* update Lines: and Content-Length: */ 
    90 #define CH_TXTPLAIN     (1<<11) /* generate text/plain MIME headers */ 
    91 #define CH_NOLEN        (1<<12) /* don't write Content-Length: and Lines: */ 
    92 #define CH_WEED_DELIVERED (1<<13) /* weed eventual Delivered-To headers */ 
    93 #define CH_FORCE_FROM   (1<<14) /* give CH_FROM precedence over CH_WEED? */ 
    94 #define CH_NOQFROM      (1<<15) /* give CH_FROM precedence over CH_WEED? */ 
    95 #define CH_UPDATE_IRT   (1<<16) /* update In-Reply-To: */ 
    96 #define CH_UPDATE_REFS  (1<<17) /* update References: */ 
    9777 
    9878/* flags for mutt_enter_string() */