aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-data-wrapper.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>2000-02-15 22:17:01 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-02-15 22:17:01 +0800
commita020ef5168bdc283afdf156356075e7fa969c923 (patch)
treee270735c9eee8ed17a215d908fa4d37b1ff1c169 /camel/camel-data-wrapper.h
parent8d959d83b20c4e4756bdadb1d379bd79495ee700 (diff)
downloadgsoc2013-evolution-a020ef5168bdc283afdf156356075e7fa969c923.tar
gsoc2013-evolution-a020ef5168bdc283afdf156356075e7fa969c923.tar.gz
gsoc2013-evolution-a020ef5168bdc283afdf156356075e7fa969c923.tar.bz2
gsoc2013-evolution-a020ef5168bdc283afdf156356075e7fa969c923.tar.lz
gsoc2013-evolution-a020ef5168bdc283afdf156356075e7fa969c923.tar.xz
gsoc2013-evolution-a020ef5168bdc283afdf156356075e7fa969c923.tar.zst
gsoc2013-evolution-a020ef5168bdc283afdf156356075e7fa969c923.zip
include gmime-base64.h various compilation and runtime fixes.
2000-02-15 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-mime-part.c: include gmime-base64.h various compilation and runtime fixes. (_set_input_stream): store the input substream for the content object. * camel/camel-data-wrapper.h: declare the set/get function on input/output stream. * camel/camel-mime-part.c (_get_content_object): don't use a temporary mem stream. * camel/camel-seekable-substream.c (_seek): (_eos): (_read): the substream can be unlimited in length * camel/camel-data-wrapper.c (camel_data_wrapper_class_init): set the get/set_input/output_stream methods. * camel/camel-multipart.c (_construct_from_stream): camel_stream_seek -> camel_seekable_stream_seek work on the new parser scheme. temporary sync to laptop. svn path=/trunk/; revision=1781
Diffstat (limited to 'camel/camel-data-wrapper.h')
-rw-r--r--camel/camel-data-wrapper.h43
1 files changed, 30 insertions, 13 deletions
diff --git a/camel/camel-data-wrapper.h b/camel/camel-data-wrapper.h
index d4e86b277d..7c16cc65bd 100644
--- a/camel/camel-data-wrapper.h
+++ b/camel/camel-data-wrapper.h
@@ -64,21 +64,27 @@ typedef struct {
GtkObjectClass parent_class;
/* Virtual methods */
- void (*set_input_stream) (CamelDataWrapper *data_wrapper, CamelStream *stream);
+ void (*set_input_stream) (CamelDataWrapper *data_wrapper,
+ CamelStream *stream);
CamelStream * (*get_input_stream) (CamelDataWrapper *data_wrapper);
- void (*set_output_stream) (CamelDataWrapper *data_wrapper, CamelStream *stream);
+ void (*set_output_stream) (CamelDataWrapper *data_wrapper,
+ CamelStream *stream);
CamelStream * (*get_output_stream) (CamelDataWrapper *data_wrapper);
- void (*set_mime_type) (CamelDataWrapper *data_wrapper, const gchar * mime_type);
+ void (*set_mime_type) (CamelDataWrapper *data_wrapper,
+ const gchar * mime_type);
gchar * (*get_mime_type) (CamelDataWrapper *data_wrapper);
GMimeContentField * (*get_mime_type_field) (CamelDataWrapper *data_wrapper);
- void (*set_mime_type_field) (CamelDataWrapper *data_wrapper, GMimeContentField *mime_type_field);
+ void (*set_mime_type_field) (CamelDataWrapper *data_wrapper,
+ GMimeContentField *mime_type_field);
/* deprecated method */
CamelStream * (*get_stream) (CamelDataWrapper *data_wrapper);
- void (*write_to_stream) (CamelDataWrapper *data_wrapper, CamelStream *stream);
- void (*construct_from_stream) (CamelDataWrapper *data_wrapper, CamelStream *stream);
+ void (*write_to_stream) (CamelDataWrapper *data_wrapper,
+ CamelStream *stream);
+ void (*construct_from_stream) (CamelDataWrapper *data_wrapper,
+ CamelStream *stream);
} CamelDataWrapperClass;
@@ -90,17 +96,28 @@ GtkType camel_data_wrapper_get_type (void);
/* public methods */
+void camel_data_wrapper_write_to_stream (CamelDataWrapper *data_wrapper,
+ CamelStream *stream);
+void camel_data_wrapper_set_mime_type (CamelDataWrapper *data_wrapper,
+ const gchar *mime_type);
+gchar * camel_data_wrapper_get_mime_type (CamelDataWrapper *data_wrapper);
+GMimeContentField * camel_data_wrapper_get_mime_type_field (CamelDataWrapper *data_wrapper);
+void camel_data_wrapper_set_mime_type_field (CamelDataWrapper *data_wrapper,
+ GMimeContentField *mime_type);
+
+void camel_data_wrapper_set_input_stream (CamelDataWrapper *data_wrapper,
+ CamelStream *stream);
+CamelStream * camel_data_wrapper_get_input_stream (CamelDataWrapper *data_wrapper);
+void camel_data_wrapper_set_output_stream (CamelDataWrapper *data_wrapper,
+ CamelStream *stream);
+CamelStream * camel_data_wrapper_get_output_stream (CamelDataWrapper *data_wrapper);
-void camel_data_wrapper_write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream);
-void camel_data_wrapper_set_mime_type (CamelDataWrapper *data_wrapper, const gchar *mime_type);
-gchar *camel_data_wrapper_get_mime_type (CamelDataWrapper *data_wrapper);
-GMimeContentField *camel_data_wrapper_get_mime_type_field (CamelDataWrapper *data_wrapper);
-void camel_data_wrapper_set_mime_type_field (CamelDataWrapper *data_wrapper, GMimeContentField *mime_type);
/* deprecated methods. Left until the new parser scheme is ok */
-CamelStream *camel_data_wrapper_get_stream (CamelDataWrapper *data_wrapper);
-void camel_data_wrapper_construct_from_stream (CamelDataWrapper *data_wrapper, CamelStream *stream);
+CamelStream * camel_data_wrapper_get_stream (CamelDataWrapper *data_wrapper);
+void camel_data_wrapper_construct_from_stream (CamelDataWrapper *data_wrapper,
+ CamelStream *stream);
#ifdef __cplusplus
}