diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-02-05 08:21:14 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-02-05 08:21:14 +0800 |
commit | e111399fba5ae5ced85fbeac392539052b050324 (patch) | |
tree | 143668295553403853c09cefc08c8939fc9b911e /camel/camel-http-stream.h | |
parent | f4f407373fa4eefa1c1514572633b0528054a7a2 (diff) | |
download | gsoc2013-evolution-e111399fba5ae5ced85fbeac392539052b050324.tar gsoc2013-evolution-e111399fba5ae5ced85fbeac392539052b050324.tar.gz gsoc2013-evolution-e111399fba5ae5ced85fbeac392539052b050324.tar.bz2 gsoc2013-evolution-e111399fba5ae5ced85fbeac392539052b050324.tar.lz gsoc2013-evolution-e111399fba5ae5ced85fbeac392539052b050324.tar.xz gsoc2013-evolution-e111399fba5ae5ced85fbeac392539052b050324.tar.zst gsoc2013-evolution-e111399fba5ae5ced85fbeac392539052b050324.zip |
Use camel_mime_parser_read to read internal parser data.
2002-02-04 Jeffrey Stedfast <fejj@ximian.com>
* camel-http-stream.c (stream_read): Use camel_mime_parser_read to
read internal parser data.
(camel_http_stream_get_content_type): Implemented.
* camel-mime-utils.c (header_decode_int): Made public.
svn path=/trunk/; revision=15571
Diffstat (limited to 'camel/camel-http-stream.h')
-rw-r--r-- | camel/camel-http-stream.h | 6 |
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 */ |