Type representing a sort option. More...
#include "mutt/lib.h"
Go to the source code of this file.
Macros | |
#define | SORT_MASK ((1 << 8) - 1) |
Mask for the sort id. | |
#define | SORT_REVERSE (1 << 8) |
Reverse the order of the sort. | |
#define | SORT_LAST (1 << 9) |
Sort thread by last-X, e.g. received date. | |
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 | SortMethods [] |
Sort methods for '$sort' for the index. | |
Type representing a sort option.
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 SORT_LAST (1 << 9) |
enum SortType |
Methods for sorting.
Definition at line 33 of file sort2.h.
|
extern |
Sort methods for '$sort' for the index.
Definition at line 88 of file mutt_config.c.