4 #define MAX_BOUNDARIES 5
14 int keep_non_patch_brackets_in_subject
;
17 int use_inbody_headers
;
18 const char *metainfo_charset
;
20 struct strbuf
*content
[MAX_BOUNDARIES
];
21 struct strbuf
**content_top
;
22 struct strbuf charset
;
23 unsigned int format_flowed
:1;
27 TE_DONTCARE
, TE_QP
, TE_BASE64
30 int filter_stage
; /* still reading log or are we copying patch? */
31 int header_stage
; /* still checking in-body headers? */
32 struct strbuf inbody_header_accum
;
33 struct strbuf
**p_hdr_data
;
34 struct strbuf
**s_hdr_data
;
36 struct strbuf log_message
;
40 extern void setup_mailinfo(struct mailinfo
*);
41 extern int mailinfo(struct mailinfo
*, const char *msg
, const char *patch
);
42 extern void clear_mailinfo(struct mailinfo
*);
44 #endif /* MAILINFO_H */