6 #define MAX_BOUNDARIES 5
16 int keep_non_patch_brackets_in_subject;
19 int use_inbody_headers;
20 const char *metainfo_charset;
22 struct strbuf *content[MAX_BOUNDARIES];
23 struct strbuf **content_top;
24 struct strbuf charset;
25 unsigned int format_flowed:1;
29 TE_DONTCARE, TE_QP, TE_BASE64
32 int filter_stage; /* still reading log or are we copying patch? */
33 int header_stage; /* still checking in-body headers? */
34 struct strbuf inbody_header_accum;
35 struct strbuf **p_hdr_data;
36 struct strbuf **s_hdr_data;
38 struct strbuf log_message;
42 void setup_mailinfo(struct mailinfo *);
43 int mailinfo(struct mailinfo *, const char *msg, const char *patch);
44 void clear_mailinfo(struct mailinfo *);
46 #endif /* MAILINFO_H */