EXPORTED void mailbox_iter_uidset(struct mailbox_iter *iter, seqset_t *seq)
{
    iter->uidset = seq;
    mailbox_iter_startuid(iter, seqset_first(seq));
}
EXPORTED void mailbox_iter_uidset(struct mailbox_iter *iter, seqset_t *seq)
{
    iter->uidset = seq;
    mailbox_iter_startuid(iter, seqset_first(seq));
}