28 #include <sys/types.h>
36 #define mutt_numeric_cmp(a,b) ((a) < (b) ? -1 : ((a) > (b) ? 1 : 0))
49 typedef int (*
sort_t)(
const void *a,
const void *b);
Convenience wrapper for the core headers.
MailboxType
Supported mailbox formats.
Handling of global boolean variables.
void mutt_sort_headers(struct Mailbox *m, struct ThreadsContext *threads, bool init, off_t *vsize)
Sort emails by their headers.
int(* sort_mail_t)(const struct Email *a, const struct Email *b, bool reverse)
const char * mutt_get_name(const struct Address *a)
Pick the best name to display from an address.
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.
int(* sort_t)(const void *a, const void *b)
The envelope/body of an email.
The "current" threading state.