From fe058b1be72112298e356343f3a8b35fd60a072b Mon Sep 17 00:00:00 2001 From: bertrand Date: Mon, 14 Feb 2000 22:03:58 +0000 Subject: make a blocking version of the header parser. When the fs stream uses 2000-02-14 bertrand * camel/gmime-utils.c (get_header_array_from_stream): make a blocking version of the header parser. When the fs stream uses gnome-vfs, this should be changed. (gmime_read_line_from_stream): ditto. 2000-02-11 bertrand * camel/camel-stream-fs.c: everywhere, when using the cur_pos field, do it on the CamelSeekableStream object. (_seek): small fix. * camel/camel-seekable-stream.c (camel_seekable_stream_seek): s/camel_stream_seek/camel_seekable_stream_seek/g * camel/camel-seekable-stream.h: (struct ): added a field to store the current position. * camel/camel-seekable-stream.c (camel_seekable_stream_get_current_position): New function. Allows to get the current position of a seekable stream. In fact much more changes, but I am lazy. This is the begining of some major changes in camel. svn path=/trunk/; revision=1778 --- camel/camel-stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camel/camel-stream.c') diff --git a/camel/camel-stream.c b/camel/camel-stream.c index 0a18ed1ee5..bad7f6811c 100644 --- a/camel/camel-stream.c +++ b/camel/camel-stream.c @@ -160,7 +160,7 @@ camel_stream_flush (CamelStream *stream) * * Return value: the number of bytes available. **/ -gint +gboolean camel_stream_available (CamelStream *stream) { return CS_CLASS (stream)->available (stream); -- cgit v1.2.3