X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=rfc3676.h;h=bb9d960f1473735671c2f60b5e6fc31126e8fbdc;hp=d7d6397e6e40c824502aa1fa253a9df624314a39;hb=e50c7d0699ab00db55114137b02c93a0a7a7e046;hpb=fa54675b6ceb98bce1a8931b7cc5b70ecedf4225 diff --git a/rfc3676.h b/rfc3676.h index d7d6397..bb9d960 100644 --- a/rfc3676.h +++ b/rfc3676.h @@ -14,10 +14,23 @@ #include "mutt.h" #include "state.h" +/* body handler implementing RfC 3676 for format=flowed */ +int rfc3676_handler (BODY * a, STATE * s); + /* - * body handler implementing RfC 3676 for format=flowed + * this properly ensures correct quoting; correct is: + * - no spaces within the complete quote prefix of line (sect. 4.5) + * - change all quoting chars to '>' by force; see BUGS in srcdir */ +void rfc3676_quote_line (STATE* s, char* dst, size_t dstlen, + const char* line); -int rfc3676_handler (BODY * a, STATE * s); +/* + * this does the space-stuffing required as in 'MUST' + * this is only used right after editing the initial message's content + * as elsewhere it's too difficult to catch all circumstances right; + * esp. with '>' which this routine doesn't cover... XXX + */ +void rfc3676_space_stuff (HEADER* hdr); #endif /* !_MUTT_RFC3676_H */