sort2.h File Reference

`#include "mutt/lib.h"`

Include dependency graph for sort2.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Macros | |

#define | DT_SORT_LAST 0x0800 |

Sort flag for -last prefix. More... | |

#define | DT_SORT_REVERSE 0x1000 |

Sort flag for -reverse prefix. More... | |

#define | SORT_MASK ((1 << 8) - 1) |

Mask for the sort id. More... | |

#define | SORT_REVERSE (1 << 8) |

Reverse the order of the sort. More... | |

#define | SORT_LAST (1 << 9) |

Sort thread by last-X, e.g. received date. More... | |

## Enumerations | |

enum | SortType { SORT_DATE = 1, SORT_SIZE = 2, SORT_ALPHA = 3, SORT_SUBJECT = 3, SORT_FROM = 4, SORT_ORDER = 5, SORT_THREADS = 6, SORT_RECEIVED = 7, SORT_TO = 8, SORT_SCORE = 9, SORT_ALIAS = 10, SORT_ADDRESS = 11, SORT_KEYID = 12, SORT_TRUST = 13, SORT_SPAM = 14, SORT_COUNT = 15, SORT_UNREAD = 16, SORT_FLAGGED = 17, SORT_PATH = 18, SORT_LABEL = 19, SORT_DESC = 20, SORT_MAX } |

Methods for sorting. More... | |

## Variables | |

const struct Mapping | SortAliasMethods [] |

Sort methods for email aliases. More... | |

const struct Mapping | SortBrowserMethods [] |

Sort methods for the folder/dir browser. More... | |

const struct Mapping | SortKeyMethods [] |

Sort methods for encryption keys. More... | |

const struct Mapping | SortMethods [] |

Sort methods for '$sort' for the index. More... | |

const struct Mapping | SortSidebarMethods [] |

Sort methods for the sidebar. More... | |

Type representing a sort option

- Copyright
- This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file sort2.h.

#define DT_SORT_REVERSE 0x1000 |

#define SORT_LAST (1 << 9) |

enum SortType |

Methods for sorting.

Definition at line 43 of file sort2.h.

const struct Mapping SortAliasMethods[] |

const struct Mapping SortBrowserMethods[] |

Sort methods for the folder/dir browser.

Definition at line 126 of file mutt_config.c.

const struct Mapping SortKeyMethods[] |

const struct Mapping SortMethods[] |

Sort methods for '$sort' for the index.

Definition at line 104 of file mutt_config.c.