Top | ![]() |
![]() |
![]() |
![]() |
GInputStream *
camel_imapx_input_stream_new (GInputStream *base_stream
);
Creates a new CamelIMAPXInputStream which wraps base_stream
and
parses incoming IMAP lines into tokens.
Since: 3.12
gint
camel_imapx_input_stream_buffered (CamelIMAPXInputStream *is
);
gboolean
camel_imapx_input_stream_get_utf8_accept
(CamelIMAPXInputStream *is
);
void camel_imapx_input_stream_set_utf8_accept (CamelIMAPXInputStream *is
,gboolean utf8_accept
);
camel_imapx_token_t camel_imapx_input_stream_token (CamelIMAPXInputStream *is
,guchar **start
,guint *len
,GCancellable *cancellable
,GError **error
);
void camel_imapx_input_stream_ungettoken (CamelIMAPXInputStream *is
,camel_imapx_token_t tok
,guchar *token
,guint len
);
void camel_imapx_input_stream_set_literal (CamelIMAPXInputStream *is
,guint literal
);
gint camel_imapx_input_stream_gets (CamelIMAPXInputStream *is
,guchar **start
,guint *len
,GCancellable *cancellable
,GError **error
);
gint camel_imapx_input_stream_getl (CamelIMAPXInputStream *is
,guchar **start
,guint *len
,GCancellable *cancellable
,GError **error
);
gboolean camel_imapx_input_stream_atom (CamelIMAPXInputStream *is
,guchar **start
,guint *len
,GCancellable *cancellable
,GError **error
);
gboolean camel_imapx_input_stream_astring (CamelIMAPXInputStream *is
,guchar **start
,GCancellable *cancellable
,GError **error
);
gboolean camel_imapx_input_stream_nstring (CamelIMAPXInputStream *is
,guchar **start
,GCancellable *cancellable
,GError **error
);
gboolean camel_imapx_input_stream_nstring_bytes (CamelIMAPXInputStream *is
,GBytes **out_bytes
,gboolean with_progress
,GCancellable *cancellable
,GError **error
);
gboolean camel_imapx_input_stream_text (CamelIMAPXInputStream *is
,guchar **text
,GCancellable *cancellable
,GError **error
);
gboolean camel_imapx_input_stream_number (CamelIMAPXInputStream *is
,guint64 *number
,GCancellable *cancellable
,GError **error
);
gboolean camel_imapx_input_stream_skip (CamelIMAPXInputStream *is
,GCancellable *cancellable
,GError **error
);
gboolean camel_imapx_input_stream_skip_until (CamelIMAPXInputStream *is
,const gchar *delimiters
,GCancellable *cancellable
,GError **error
);