* responses */
#include <lib-lib/lib-lib.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
#include "message.h"
-#include "mx.h"
#include "imap_private.h"
#include <ctype.h>
return 0;
}
-/* imap_cmd_running: Returns whether an IMAP command is in progress. */
-int imap_cmd_running (IMAP_DATA * idata)
-{
- if (idata->cmd.state == IMAP_CMD_CONTINUE ||
- idata->cmd.state == IMAP_CMD_RESPOND)
- return 1;
-
- return 0;
-}
-
/* imap_cmd_finish: Attempts to perform cleanup (eg fetch new mail if
* detected, do expunge). Called automatically by imap_cmd_step, but
* may be called at any time. Called by imap_check_mailbox just before