Mercurial > dovecot > core-2.2
view src/dict/dict-connection.h @ 12636:fa4b84059ae2
IMAP LIST: Never return subscribed children state if RECURSIVEMATCH isn't specified.
Not even when backends give it automatically.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 02 Feb 2011 05:31:46 +0200 |
parents | 0f7b25f3e2ce |
children | a097ef0a9d6d |
line wrap: on
line source
#ifndef DICT_CONNECTION_H #define DICT_CONNECTION_H #include "dict.h" struct dict_connection_transaction { unsigned int id; struct dict_connection *conn; struct dict_transaction_context *ctx; }; struct dict_connection { struct dict_connection *prev, *next; struct dict_server *server; char *username; char *name; struct dict *dict; enum dict_data_type value_type; int fd; struct io *io; struct istream *input; struct ostream *output; struct dict_iterate_context *iter_ctx; /* There are only a few transactions per client, so keeping them in array is fast enough */ ARRAY_DEFINE(transactions, struct dict_connection_transaction); }; struct dict_connection *dict_connection_create(int fd); void dict_connection_destroy(struct dict_connection *conn); void dict_connections_destroy_all(void); #endif