24#ifndef MUTT_IMAP_MSN_H
25#define MUTT_IMAP_MSN_H
size_t imap_msn_shrink(struct MSNArray *msn, size_t num)
Remove a number of entries from the end of the cache.
void imap_msn_free(struct MSNArray *msn)
Free the cache.
size_t imap_msn_highest(const struct MSNArray *msn)
Return the highest MSN in use.
struct Email * imap_msn_get(const struct MSNArray *msn, size_t idx)
Return the Email associated with an msn.
void imap_msn_set(struct MSNArray *msn, size_t idx, struct Email *e)
Cache an Email into a given position.
void imap_msn_reserve(struct MSNArray *msn, size_t num)
Create / reallocate the cache.
void imap_msn_remove(struct MSNArray *msn, size_t idx)
Remove an entry from the cache.
The envelope/body of an email.