imap-expunge.c revision 345212e8f61ebf14ff4f80df26df9e655eb5121e
25fdbae285d682b7e54ac103ccfb95e032b6ff1fTimo Sirainen/* Copyright (C) 2003 Timo Sirainen */
345212e8f61ebf14ff4f80df26df9e655eb5121eTimo Sirainenint imap_expunge(struct mailbox *box, struct mail_search_arg *next_search_arg)
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen ctx = mailbox_search_init(t, NULL, &search_arg, NULL, 0, NULL);
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen while ((mail = mailbox_search_next(ctx)) != NULL) {