X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=protos.h;h=0207638c3851be97a0d380bcc45c436e54045de8;hp=562e34aa53bf99ff9c7d3d0675169dcaaebec19e;hb=bf962aa95d973d266241deb552e5e4ffae484692;hpb=59f5843ea1ff2f68a60ceaeb497cf195bb512238 diff --git a/protos.h b/protos.h index 562e34a..0207638 100644 --- a/protos.h +++ b/protos.h @@ -129,7 +129,7 @@ int mutt_parse_exec (BUFFER *, BUFFER *, unsigned long, BUFFER *); int mutt_parse_hook (BUFFER *, BUFFER *, unsigned long, BUFFER *); int mutt_parse_macro (BUFFER *, BUFFER *, unsigned long, BUFFER *); int mutt_parse_push (BUFFER *, BUFFER *, unsigned long, BUFFER *); -int mutt_parse_rc_line ( /* const */ char *, BUFFER *, BUFFER *); +int mutt_parse_rc_line (const char *, BUFFER *, BUFFER *); int mutt_parse_score (BUFFER *, BUFFER *, unsigned long, BUFFER *); int mutt_parse_unscore (BUFFER *, BUFFER *, unsigned long, BUFFER *); int mutt_parse_unhook (BUFFER *, BUFFER *, unsigned long, BUFFER *); @@ -157,13 +157,15 @@ void ci_bounce_message (HEADER *, int *); int ci_send_message (int, HEADER *, char *, CONTEXT *, HEADER *); /* flags for mutt_extract_token() */ -#define M_TOKEN_EQUAL 1 /* treat '=' as a special */ -#define M_TOKEN_CONDENSE (1<<1) /* ^(char) to control chars (macros) */ -#define M_TOKEN_SPACE (1<<2) /* don't treat whitespace as a term */ -#define M_TOKEN_QUOTE (1<<3) /* don't interpret quotes */ -#define M_TOKEN_PATTERN (1<<4) /* !)|~ are terms (for patterns) */ -#define M_TOKEN_COMMENT (1<<5) /* don't reap comments */ -#define M_TOKEN_SEMICOLON (1<<6) /* don't treat ; as special */ +#define M_TOKEN_EQUAL (1 << 0) /* treat '=' as a special */ +#define M_TOKEN_CONDENSE (1 << 1) /* ^(char) to control chars (macros) */ +#define M_TOKEN_SPACE (1 << 2) /* don't treat whitespace as a term */ +#define M_TOKEN_PATTERN (1 << 3) /* !)|~ are terms (for patterns) */ +/* equivalent to M_TOKEN_PATTERN */ +#define M_TOKEN_COMMENT (1 << 4) /* don't reap comments */ + +/* implies M_TOKEN_SPACE */ +#define M_TOKEN_QUOTE (1 << 5) /* don't interpret quotes */ int mutt_extract_token(BUFFER *, BUFFER *, int);