NeoMutt  2024-11-14-138-ge5ca67
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
sort.h File Reference

Type representing a sort option. More...

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

Go to the source code of this file.

Macros

#define mutt_numeric_cmp(a, b)   ((a) < (b) ? -1 : ((a) > (b) ? 1 : 0))
 
#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.
 

Detailed Description

Type representing a sort option.

Authors
  • Richard Russon

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 sort.h.

Macro Definition Documentation

◆ mutt_numeric_cmp

#define mutt_numeric_cmp (   a,
 
)    ((a) < (b) ? -1 : ((a) > (b) ? 1 : 0))

Definition at line 26 of file sort.h.

◆ SORT_MASK

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

Mask for the sort id.

Definition at line 38 of file sort.h.

◆ SORT_REVERSE

#define SORT_REVERSE   (1 << 8)

Reverse the order of the sort.

Definition at line 39 of file sort.h.

◆ SORT_LAST

#define SORT_LAST   (1 << 9)

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

Definition at line 40 of file sort.h.