28 #include <sys/types.h> 40 #define SORT_CODE(x) ((OptAuxSort ? C_SortAux : C_Sort) & SORT_REVERSE) ? -(x) : x 50 typedef int (*
sort_t)(
const void *a,
const void *b);
bool C_ReverseAlias
Config: Display the alias in the index, rather than the message's sender.
SortType
Methods for sorting.
The "current" threading state.
Convenience wrapper for the config headers.
WHERE short C_Sort
Config: Sort method for the index.
int(* sort_t)(const void *a, const void *b)
Prototype for a function to compare two emails.
const char * mutt_get_name(const struct Address *a)
Pick the best name to display from an address.
WHERE short C_SortAux
Config: Secondary sort method for the index.
int perform_auxsort(int retval, const void *a, const void *b)
Compare two emails using the auxiliary sort method.
sort_t mutt_get_sort_func(enum SortType method)
Get the sort function for a given sort id.
void mutt_sort_headers(struct Mailbox *m, struct ThreadsContext *threads, bool init, off_t *vsize)
Sort emails by their headers.
Handling of global boolean variables.