/* Support for IMAP4rev1, with the occasional nod to IMAP 4. */
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include <lib-lib/mem.h>
-#include <lib-lib/ascii.h>
-#include <lib-lib/str.h>
-#include <lib-lib/buffer.h>
+#include <lib-lib/lib-lib.h>
#include "mutt.h"
#include "mx.h"
#endif
#include "buffy.h"
-#include <lib-lib/macros.h>
-
-#include <unistd.h>
-#include <ctype.h>
-#include <string.h>
-#include <stdlib.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-
/* imap forward declarations */
static int imap_get_delim (IMAP_DATA * idata);
static char *imap_get_flags (string_list_t ** hflags, char *s);
imap_fix_path (idata, mx.mbox, mailbox, sizeof (mailbox));
/* we may already be in the folder we're checking */
- if (!ascii_strcmp(idata->mailbox, mx.mbox)) {
+ if (!m_strcmp(idata->mailbox, mx.mbox)) {
p_delete(&mx.mbox);
return 0;
}
completions++;
}
}
- while (ascii_strncmp (idata->cmd.seq, idata->cmd.buf, SEQLEN));
+ while (m_strncmp(idata->cmd.seq, idata->cmd.buf, SEQLEN));
if (completions) {
/* reformat output */