aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-mime-parser.h')
-rw-r--r--camel/camel-mime-parser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/camel-mime-parser.h b/camel/camel-mime-parser.h
index e0e3d036c0..c1ef1b58b4 100644
--- a/camel/camel-mime-parser.h
+++ b/camel/camel-mime-parser.h
@@ -76,6 +76,9 @@ struct _CamelMimeParserClass {
guint camel_mime_parser_get_type (void);
CamelMimeParser *camel_mime_parser_new (void);
+/* quick-fix for parser not erroring, we can find out if it had an error afterwards */
+int camel_mime_parser_errno (CamelMimeParser *);
+
/* using an fd will be a little faster, but not much (over a simple stream) */
int camel_mime_parser_init_with_fd(CamelMimeParser *, int fd);
int camel_mime_parser_init_with_stream(CamelMimeParser *m, CamelStream *stream);