CamelIMAPXServer: Add a "stream" property.
authorMatthew Barnes <mbarnes@redhat.com>
Thu, 30 Aug 2012 15:29:46 +0000 (11:29 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Thu, 30 Aug 2012 20:39:32 +0000 (16:39 -0400)
commit2449ff17a92b80bc8e9ed7a19907cfe391a7805b
treeb144d41a5e41da5da2d0006a3bb816f20af36f30
parent2adbe9ccd8f8a31e58f6808799bdc12ac284f4a3
CamelIMAPXServer: Add a "stream" property.

Protect the stream with a mutex and add camel_imapx_server_ref_stream().

Additionally, the stream pointer is now in the private structure, and
is explicitly passed to various parsing functions to ensure a reference
is held on the stream for the duration of a parser thread iteration.

This alters the signature of CamelIMAPUntaggedRespHandler.

I am, however, NOT changing libcamel's soname for these changes since
only evolution-kolab is affected and a soname bump at this point in the
development cycle is extremely disruptive to the rest of GNOME.
camel/camel-imapx-server.c
camel/camel-imapx-server.h
camel/camel-imapx-store.c
docs/reference/camel/camel-sections.txt