aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-stream.h
diff options
context:
space:
mode:
authorbertrand <bertrand@helixcode.com>2000-01-25 12:02:14 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-01-25 12:02:14 +0800
commit0cccd4dc239e8236dc54f338625e77986813a913 (patch)
tree4e951e918f9236a5f5a29b669670536f19c84cf1 /camel/camel-stream.h
parent32ce476a23e9f2757e9cc539532f38f4ab21837c (diff)
downloadgsoc2013-evolution-0cccd4dc239e8236dc54f338625e77986813a913.tar
gsoc2013-evolution-0cccd4dc239e8236dc54f338625e77986813a913.tar.gz
gsoc2013-evolution-0cccd4dc239e8236dc54f338625e77986813a913.tar.bz2
gsoc2013-evolution-0cccd4dc239e8236dc54f338625e77986813a913.tar.lz
gsoc2013-evolution-0cccd4dc239e8236dc54f338625e77986813a913.tar.xz
gsoc2013-evolution-0cccd4dc239e8236dc54f338625e77986813a913.tar.zst
gsoc2013-evolution-0cccd4dc239e8236dc54f338625e77986813a913.zip
The CamelDataWrapper can now be provided with input and output streams, so
2000-01-24 bertrand <bertrand@helixcode.com> * camel/camel-data-wrapper.h: * camel/camel-data-wrapper.c (_set_input_stream): (_get_input_stream): (_set_output_stream): (_get_output_stream): The CamelDataWrapper can now be provided with input and output streams, so that nothing has to be kept in memory. * camel/camel-stream.c (camel_stream_class_init): added the "data_available" signal. svn path=/trunk/; revision=1624
Diffstat (limited to 'camel/camel-stream.h')
-rw-r--r--camel/camel-stream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/camel-stream.h b/camel/camel-stream.h
index 73b4c31082..d0327971af 100644
--- a/camel/camel-stream.h
+++ b/camel/camel-stream.h
@@ -54,6 +54,9 @@ typedef struct {
GtkObjectClass parent_class;
/* Virtual methods */
+
+ void (*data_available) (CamelStream *stream); /* default "data_available" signal handler */
+
gint (*read) (CamelStream *stream, gchar *buffer, gint n);
gint (*write) (CamelStream *stream, const gchar *buffer, gint n);
void (*flush) (CamelStream *stream);