103 mdata->uid_next = uidnext ? *(
unsigned int *) uidnext : 0;
Convenience wrapper for the core headers.
#define mutt_debug(LEVEL,...)
Header cache multiplexor.
void mutt_hcache_free_raw(struct HeaderCache *hc, void **data)
Multiplexor for StoreOps::free.
void * mutt_hcache_fetch_raw(struct HeaderCache *hc, const char *key, size_t keylen, size_t *dlen)
Fetch a message's header from the cache.
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_mdata_free(void **ptr)
Free the private Mailbox data - Implements Mailbox::mdata_free()
char * imap_fix_path(char delim, const char *mailbox, char *path, size_t plen)
Fix up the imap path.
#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.
void imap_munge_mbox_name(bool unicode, char *dest, size_t dlen, const char *src)
Quote awkward characters in a mailbox name.
void imap_hcache_open(struct ImapAccountData *adata, struct ImapMboxData *mdata)
Open a header cache.
void mutt_list_free(struct ListHead *h)
Free a List AND its strings.
@ LL_DEBUG3
Log at debug level 3.
@ MUTT_IMAP
'IMAP' Mailbox type
void * mutt_mem_calloc(size_t nmemb, size_t size)
Allocate zeroed memory on the heap.
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 -.
unsigned long long modseq
enum MailboxType type
Mailbox type.
void * mdata
Driver specific data.