#ifndef MAILBOX_LIST_SUBSCRIPTIONS_H
#define MAILBOX_LIST_SUBSCRIPTIONS_H
#include "mailbox-list-iter.h"
struct mailbox_tree_context;
struct mailbox_list_iterate_context;
struct mailbox_list *dest_list);
/* Set MAILBOX_SUBSCRIBED and MAILBOX_CHILD_SUBSCRIBED flags,
clearing them if they already are there when they shouldn't. */
const char *vname,
enum mailbox_info_flags *flags);
/* Add subscriptions matching the iteration to the given tree */
struct mailbox_tree_context *tree,
bool default_nonexistent);
/* Iterate through subscriptions, call mailbox_list.get_mailbox_flags()
if necessary for mailboxes to get their flags. */
struct mailbox_list_iterate_context *
const char *const *patterns,
enum mailbox_list_iter_flags flags);
const struct mailbox_info *
#endif