diff options
Diffstat (limited to 'camel/camel-mime-parser.h')
-rw-r--r-- | camel/camel-mime-parser.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/camel-mime-parser.h b/camel/camel-mime-parser.h index cbc7b6095e..1a84cefa28 100644 --- a/camel/camel-mime-parser.h +++ b/camel/camel-mime-parser.h @@ -86,6 +86,9 @@ int camel_mime_parser_fd(CamelMimeParser *m); /* scan 'From' separators? */ void camel_mime_parser_scan_from(CamelMimeParser *, int); +/* what headers to save, MUST include ^Content-Type: */ +int camel_mime_parser_set_header_regex(CamelMimeParser *m, char *matchstr); + /* normal interface */ enum _header_state camel_mime_parser_step(CamelMimeParser *, char **, int *); void camel_mime_parser_unstep(CamelMimeParser *); |