From c17ecff2170a09736718442c42d26bae5f43e6fd Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 15 Oct 2004 20:21:02 +0000 Subject: added gtk-doc comments svn path=/trunk/; revision=27600 --- camel/providers/imap4/camel-imap4-stream.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'camel') diff --git a/camel/providers/imap4/camel-imap4-stream.c b/camel/providers/imap4/camel-imap4-stream.c index 24a8285a79..f26c3c12b7 100644 --- a/camel/providers/imap4/camel-imap4-stream.c +++ b/camel/providers/imap4/camel-imap4-stream.c @@ -604,7 +604,7 @@ camel_imap4_stream_unget_token (CamelIMAP4Stream *stream, camel_imap4_token_t *t /** - * camel_imap4_stream_readline: + * camel_imap4_stream_line: * @stream: imap4 stream * @line: line pointer * @len: line length @@ -661,6 +661,19 @@ camel_imap4_stream_line (CamelIMAP4Stream *stream, unsigned char **line, size_t } +/** + * camel_imap4_stream_literal: + * @stream: IMAP stream + * @literal: literal pointer + * @len: literal length + * + * Sets @literal to the beginning of the next chunk of the literal + * buffer from the IMAP stream and sets @len to the length of the + * @literal buffer. + * + * Returns >0 if more literal data exists, 0 if the end of the literal + * has been reached or -1 on fail. + **/ int camel_imap4_stream_literal (CamelIMAP4Stream *stream, unsigned char **literal, size_t *len) { -- cgit v1.2.3