Add camel_imapx_stream_nstring_bytes().
authorMatthew Barnes <mbarnes@redhat.com>
Wed, 5 Feb 2014 19:21:37 +0000 (14:21 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Sun, 23 Feb 2014 15:54:54 +0000 (10:54 -0500)
commit7d66c6578120deaae5c19fffe117692839191164
tree56ef04a611f3101cedafec35e5b60be7cd820f88
parentfe77b4a478b68d3be41e7ee1b3b122959f0fed2e
Add camel_imapx_stream_nstring_bytes().

Replaces camel_imapx_stream_nstring_stream().

Produces a GBytes instead of a CamelStreamMem.  GBytes works better
than GOutputStream would because it can be reused without seeking to
the beginning.

This basically converts message fetching to use GIO streams directly.
camel/providers/imapx/Makefile.am
camel/providers/imapx/camel-imapx-server.c
camel/providers/imapx/camel-imapx-stream.c
camel/providers/imapx/camel-imapx-stream.h
camel/providers/imapx/camel-imapx-utils.c
camel/providers/imapx/camel-imapx-utils.h
docs/reference/camel/camel-sections.txt