Mercurial > dovecot > core-2.2
view src/lib-storage/index/imapc/imapc-client-private.h @ 12880:6a9348fb2253
imapc: Removed support for connection locking and multiple connections to mailbox.
If needed they can be added back by reversing this change, but for now
they're no longer needed.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 04 Apr 2011 14:09:11 +0300 |
parents | c5816dd58dcf |
children | 26c38da7b7fc |
line wrap: on
line source
#ifndef IMAPC_CLIENT_PRIVATE_H #define IMAPC_CLIENT_PRIVATE_H #include "imapc-client.h" struct imapc_client_connection { struct imapc_connection *conn; struct imapc_client_mailbox *box; }; struct imapc_client { pool_t pool; struct imapc_client_settings set; struct ssl_iostream_context *ssl_ctx; imapc_untagged_callback_t *untagged_callback; void *untagged_context; ARRAY_DEFINE(conns, struct imapc_client_connection *); struct ioloop *ioloop; unsigned int stop_now:1; }; struct imapc_client_mailbox { struct imapc_client *client; struct imapc_connection *conn; struct imapc_seqmap *seqmap; void *untagged_box_context; unsigned int pending_box_command_count; }; #endif