aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-http-stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-http-stream.h')
-rw-r--r--camel/camel-http-stream.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/camel/camel-http-stream.h b/camel/camel-http-stream.h
index 1ffa18d4bd..ac4b2c2a62 100644
--- a/camel/camel-http-stream.h
+++ b/camel/camel-http-stream.h
@@ -29,6 +29,7 @@ extern "C" {
#pragma }
#endif /* __cplusplus */
+#include <camel/camel-mime-parser.h>
#include <camel/camel-mime-utils.h>
#include <camel/camel-service.h>
#include <camel/camel-stream.h>
@@ -52,11 +53,12 @@ typedef enum {
typedef struct _CamelHttpStreamClass CamelHttpStreamClass;
-typedef struct _CamelHttpStream CamelHttpStream;
struct _CamelHttpStream {
CamelStream parent_object;
+ CamelMimeParser *parser;
+
CamelContentType *content_type;
struct _header_raw *headers;
@@ -79,6 +81,8 @@ CamelType camel_http_stream_get_type (void);
/* public methods */
CamelStream *camel_http_stream_new (CamelHttpMethod method, CamelService *service, CamelURL *url);
+CamelContentType *camel_http_stream_get_content_type (CamelHttpStream *http_stream);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */