diff options
Diffstat (limited to 'camel/camel-stream-buffer.h')
-rw-r--r-- | camel/camel-stream-buffer.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/camel/camel-stream-buffer.h b/camel/camel-stream-buffer.h index 33132e39a4..367735e4e1 100644 --- a/camel/camel-stream-buffer.h +++ b/camel/camel-stream-buffer.h @@ -62,6 +62,9 @@ struct _CamelStreamBuffer unsigned char *buf, *ptr, *end; int size; + unsigned char *linebuf; /* for reading lines at a time */ + int linesize; + CamelStreamBufferMode mode; unsigned int flags; /* internal flags */ }; @@ -95,11 +98,9 @@ CamelStream *camel_stream_buffer_new_with_vbuf (CamelStream *s, CamelStream *camel_stream_buffer_set_vbuf (CamelStreamBuffer *b, CamelStreamBufferMode mode, char *buf, guint32 size); */ /* read a line of characters */ -int camel_stream_buffer_gets (CamelStreamBuffer *b, char *buf, - unsigned int max, CamelException *ex); +int camel_stream_buffer_gets (CamelStreamBuffer *b, char *buf, unsigned int max); -char *camel_stream_buffer_read_line (CamelStreamBuffer *sbf, - CamelException *ex); +char *camel_stream_buffer_read_line (CamelStreamBuffer *sbf); #ifdef __cplusplus } |