Mercurial > dovecot > core-2.2
view src/imap/cmd-expunge.c @ 903:fd8888f6f037 HEAD
Naming style changes, finally got tired of most of the typedefs. Also the
previous enum -> macro change reverted so that we don't use the highest bit
anymore, that's incompatible with old indexes so they will be rebuilt.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 05 Jan 2003 15:09:51 +0200 |
parents | 925d6eb5f8be |
children | db14aa8e2b5c |
line wrap: on
line source
/* Copyright (C) 2002 Timo Sirainen */ #include "common.h" #include "commands.h" int cmd_expunge(struct client *client) { if (!client_verify_open_mailbox(client)) return TRUE; if (client->mailbox->expunge(client->mailbox, TRUE)) client_send_tagline(client, "OK Expunge completed."); else client_send_storage_error(client); return TRUE; }