Mercurial > dovecot > core-2.2
view src/lib-storage/index/imapc/imapc-list.h @ 12666:0af45e821da1
imapc: Mailbox listing code works now perfectly.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 12 Feb 2011 06:06:32 +0200 |
parents | 9e471f267fb4 |
children | 934c529052eb |
line wrap: on
line source
#ifndef IMAPC_LIST_H #define IMAPC_LIST_H struct imap_arg; #include "mailbox-list-private.h" #define MAILBOX_LIST_NAME_IMAPC "imapc" struct imapc_mailbox_list { struct mailbox_list list; struct imapc_storage *storage; struct mailbox_tree_context *mailboxes, *tmp_subscriptions; char sep; unsigned int iter_count; /* we've returned wrong separator. all mailbox list operations must fail from now on. */ unsigned int broken:1; unsigned int refreshed_subscriptions:1; unsigned int refreshed_mailboxes:1; }; void imapc_list_register_callbacks(struct imapc_mailbox_list *list); #endif