aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2004-10-16 04:21:02 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-10-16 04:21:02 +0800
commitc17ecff2170a09736718442c42d26bae5f43e6fd (patch)
tree315e5d7dbb2795d4d02ddab1b229dc6e8bb86b3b /camel/providers
parentb17305de043172a8638897946deaa8d56baf713a (diff)
downloadgsoc2013-evolution-c17ecff2170a09736718442c42d26bae5f43e6fd.tar.gz
gsoc2013-evolution-c17ecff2170a09736718442c42d26bae5f43e6fd.tar.zst
gsoc2013-evolution-c17ecff2170a09736718442c42d26bae5f43e6fd.zip
added gtk-doc comments
svn path=/trunk/; revision=27600
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap4/camel-imap4-stream.c15
1 files changed, 14 insertions, 1 deletions
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)
{