diff options
Diffstat (limited to 'camel/camel-stream-buffer.h')
-rw-r--r-- | camel/camel-stream-buffer.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/camel/camel-stream-buffer.h b/camel/camel-stream-buffer.h index c4b7e4b2e7..967c33e553 100644 --- a/camel/camel-stream-buffer.h +++ b/camel/camel-stream-buffer.h @@ -53,7 +53,7 @@ typedef enum CAMEL_STREAM_BUFFER_MODE = 0x80 } CamelStreamBufferMode; -typedef struct +struct _CamelStreamBuffer { CamelStream parent_object; @@ -67,7 +67,7 @@ typedef struct CamelStreamBufferMode mode; unsigned int flags; /* internal flags */ -} CamelStreamBuffer; +}; @@ -95,6 +95,8 @@ CamelStream *camel_stream_buffer_set_vbuf (CamelStreamBuffer *b, CamelStreamBuff /* read a line of characters */ int camel_stream_buffer_gets(CamelStreamBuffer *b, char *buf, int max); +char *camel_stream_buffer_read_line (CamelStreamBuffer *sbf); + #ifdef __cplusplus } #endif /* __cplusplus */ |