diff options
author | Derek Martin <code@pizzashack.org> | 2016-05-09 14:06:54 -0700 |
---|---|---|
committer | Derek Martin <code@pizzashack.org> | 2016-05-09 14:06:54 -0700 |
commit | 9cafb05c0efadc771197c0e1e98fa9d989b48d41 (patch) | |
tree | c70f969ad76a417ec896f10ecccd17ca0702c8ef /copy.h | |
parent | fa0dcb09fe69d23ceba28159e6be6b72adb9a9df (diff) |
Change M_* symbols to MUTT_*
Changeset 23334e967dd7 created a workaround for a namespace conflict
with Solaris and derivatives. After some discussion, the team decided
it would be best to move away from using the "M_" prefix for macros.
This patch was automatically generated by running:
perl -wpi -e 's/\bM_(\w+)\b/MUTT_$1/g' `find . -name '*.[ch]' -print`
with the exception that sys_socket.h was exempted. (That file will
be backed out subsequent to this commit.)
Thanks to Andras Salamon for supplying the perl script used to make
this change.
Diffstat (limited to 'copy.h')
-rw-r--r-- | copy.h | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -17,21 +17,21 @@ */ /* flags to _mutt_copy_message */ -#define M_CM_NOHEADER 1 /* don't copy the message header */ -#define M_CM_PREFIX (1<<1) /* quote the message */ -#define M_CM_DECODE (1<<2) /* decode the message body into text/plain */ -#define M_CM_DISPLAY (1<<3) /* output is displayed to the user */ -#define M_CM_UPDATE (1<<4) /* update structs on sync */ -#define M_CM_WEED (1<<5) /* weed message/rfc822 attachment headers */ -#define M_CM_CHARCONV (1<<6) /* perform character set conversions */ -#define M_CM_PRINTING (1<<7) /* printing the message - display light */ -#define M_CM_REPLYING (1<<8) /* replying the message */ +#define MUTT_CM_NOHEADER 1 /* don't copy the message header */ +#define MUTT_CM_PREFIX (1<<1) /* quote the message */ +#define MUTT_CM_DECODE (1<<2) /* decode the message body into text/plain */ +#define MUTT_CM_DISPLAY (1<<3) /* output is displayed to the user */ +#define MUTT_CM_UPDATE (1<<4) /* update structs on sync */ +#define MUTT_CM_WEED (1<<5) /* weed message/rfc822 attachment headers */ +#define MUTT_CM_CHARCONV (1<<6) /* perform character set conversions */ +#define MUTT_CM_PRINTING (1<<7) /* printing the message - display light */ +#define MUTT_CM_REPLYING (1<<8) /* replying the message */ -#define M_CM_DECODE_PGP (1<<9) /* used for decoding PGP messages */ -#define M_CM_DECODE_SMIME (1<<10) /* used for decoding S/MIME messages */ -#define M_CM_DECODE_CRYPT (M_CM_DECODE_PGP | M_CM_DECODE_SMIME) +#define MUTT_CM_DECODE_PGP (1<<9) /* used for decoding PGP messages */ +#define MUTT_CM_DECODE_SMIME (1<<10) /* used for decoding S/MIME messages */ +#define MUTT_CM_DECODE_CRYPT (MUTT_CM_DECODE_PGP | MUTT_CM_DECODE_SMIME) -#define M_CM_VERIFY (1<<11) /* do signature verification */ +#define MUTT_CM_VERIFY (1<<11) /* do signature verification */ /* flags for mutt_copy_header() */ #define CH_UPDATE 1 /* update the status and x-status fields? */ |