34#define mutt_numeric_cmp(a,b) ((a) < (b) ? -1 : ((a) > (b) ? 1 : 0))
47typedef int (*
sort_t)(
const void *a,
const void *b);
Convenience wrapper for the core headers.
MailboxType
Supported mailbox formats.
const char * mutt_get_name(const struct Address *a)
Pick the best name to display from an address.
int(* sort_mail_t)(const struct Email *a, const struct Email *b, bool reverse)
int mutt_compare_emails(const struct Email *a, const struct Email *b, enum MailboxType type, short sort, short sort_aux)
Compare two emails using up to two sort methods.
void mutt_sort_headers(struct MailboxView *mv, bool init)
Sort emails by their headers.
int(* sort_t)(const void *a, const void *b)
The envelope/body of an email.