76 char buf[1024] = { 0 };
Convenience wrapper for the core headers.
@ MUTT_IMAP
'IMAP' Mailbox type
#define mutt_debug(LEVEL,...)
void imap_mdata_free(void **ptr)
Free the private Mailbox data - Implements Mailbox::mdata_free() -.
Header cache multiplexor.
#define hcache_fetch_raw_obj(hc, key, keylen, dst)
struct ImapMboxData * imap_mdata_new(struct ImapAccountData *adata, const char *name)
Allocate and initialise a new ImapMboxData structure.
struct ImapMboxData * imap_mdata_get(struct Mailbox *m)
Get the Mailbox data for this mailbox.
void imap_hcache_open(struct ImapAccountData *adata, struct ImapMboxData *mdata, bool create)
Open a header cache.
#define IMAP_REOPEN_ALLOW
Allow re-opening a folder upon expunge.
void imap_mdata_cache_reset(struct ImapMboxData *mdata)
Release and clear cache data of ImapMboxData structure.
void imap_hcache_close(struct ImapMboxData *mdata)
Close the header cache.
char * imap_fix_path_with_delim(char delim, const char *mailbox, char *path, size_t plen)
Fix up the imap path.
void imap_munge_mbox_name(bool unicode, char *dest, size_t dlen, const char *src)
Quote awkward characters in a mailbox name.
void mutt_list_free(struct ListHead *h)
Free a List AND its strings.
@ LL_DEBUG3
Log at debug level 3.
#define MUTT_MEM_CALLOC(n, type)
char * mutt_str_dup(const char *str)
Copy a string, safely.
size_t mutt_str_copy(char *dest, const char *src, size_t dsize)
Copy a string into a buffer (guaranteeing NUL-termination)
Notmuch-specific Mailbox data.
Pop-specific Account data.
#define STAILQ_INIT(head)
IMAP-specific Account data -.
char delim
Path delimiter.
bool unicode
If true, we can send UTF-8, and the server will use UTF8 rather than mUTF7.
IMAP-specific Mailbox data -.
enum MailboxType type
Mailbox type.
void * mdata
Driver specific data.