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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/camel/camel-mime-parser.h b/camel/camel-mime-parser.h
index d42ea4709c..f8964ed86c 100644
--- a/camel/camel-mime-parser.h
+++ b/camel/camel-mime-parser.h
@@ -79,11 +79,17 @@ CamelMimeParser *camel_mime_parser_new (void);
int camel_mime_parser_init_with_fd(CamelMimeParser *, int fd);
int camel_mime_parser_init_with_stream(CamelMimeParser *m, CamelStream *stream);
+/* get the stream or fd back of the parser */
+CamelStream *camel_mime_parser_stream(CamelMimeParser *m);
+int camel_mime_parser_fd(CamelMimeParser *m);
+
/* scan 'From' separators? */
void camel_mime_parser_scan_from(CamelMimeParser *, int);
/* normal interface */
enum _header_state camel_mime_parser_step(CamelMimeParser *, char **, int *);
+void camel_mime_parser_unstep(CamelMimeParser *);
+enum _header_state camel_mime_parser_state(CamelMimeParser *);
/* get content type for the current part/header */
struct _header_content_type *camel_mime_parser_content_type(CamelMimeParser *);