aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-data-wrapper.h
diff options
context:
space:
mode:
authorBertrand Guiheneuf <bertrand@src.gnome.org>1999-06-14 20:50:58 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-06-14 20:50:58 +0800
commit8050e311c1eb5e79da7bc1e4000e893cf2629991 (patch)
treea93bed4555693baddb4eda08ac1176962bab3519 /camel/camel-data-wrapper.h
parenta29ed28dd0a4f1e310a93df7d3f90351f727f02d (diff)
downloadgsoc2013-evolution-8050e311c1eb5e79da7bc1e4000e893cf2629991.tar
gsoc2013-evolution-8050e311c1eb5e79da7bc1e4000e893cf2629991.tar.gz
gsoc2013-evolution-8050e311c1eb5e79da7bc1e4000e893cf2629991.tar.bz2
gsoc2013-evolution-8050e311c1eb5e79da7bc1e4000e893cf2629991.tar.lz
gsoc2013-evolution-8050e311c1eb5e79da7bc1e4000e893cf2629991.tar.xz
gsoc2013-evolution-8050e311c1eb5e79da7bc1e4000e893cf2629991.tar.zst
gsoc2013-evolution-8050e311c1eb5e79da7bc1e4000e893cf2629991.zip
tmp sync. Does ot even compile
svn path=/trunk/; revision=978
Diffstat (limited to 'camel/camel-data-wrapper.h')
-rw-r--r--camel/camel-data-wrapper.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/camel/camel-data-wrapper.h b/camel/camel-data-wrapper.h
index 7dc4be2cea..61a37d8444 100644
--- a/camel/camel-data-wrapper.h
+++ b/camel/camel-data-wrapper.h
@@ -57,9 +57,7 @@ typedef struct {
GtkObjectClass parent_class;
/* Virtual methods */
- void (*write_to_buffer) (CamelDataWrapper *data_wrapper, gchar *buffer);
- void (*write_to_file) (CamelDataWrapper *data_wrapper, FILE *file);
- void (*construct_from_buffer) (CamelDataWrapper *data_wrapper, gchar *buffer, guint size);
+ void (*write_to_stream) (CamelDataWrapper *data_wrapper, CamelStream stream);
void (*construct_from_file) (CamelDataWrapper *data_wrapper, FILE *file, guint size);
} CamelDataWrapperClass;
@@ -71,10 +69,10 @@ GtkType camel_data_wrapper_get_type (void);
/* public methods */
-void camel_data_wrapper_write_to_buffer(CamelDataWrapper *data_wrapper, gchar *buffer);
-void camel_data_wrapper_write_to_file(CamelDataWrapper *data_wrapper, FILE *file);
-void camel_data_wrapper_construct_from_buffer(CamelDataWrapper *data_wrapper, gchar *buffer, guint size);
-void camel_data_wrapper_construct_from_file (CamelDataWrapper *data_wrapper, FILE *file, guint size);
+void camel_data_wrapper_write_to_buffer (CamelDataWrapper *data_wrapper, gchar *buffer);
+void camel_data_wrapper_write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream);
+void camel_data_wrapper_construct_from_buffer (CamelDataWrapper *data_wrapper, gchar *buffer, guint size);
+void camel_data_wrapper_construct_from_file (CamelDataWrapper *data_wrapper, CamelStream *stream, guint size);
#ifdef __cplusplus
}