Prototype for an email comparison function. More...
Functions | |
| static int | email_sort_score (const struct Email *a, const struct Email *b, bool reverse) |
| Compare two emails using their scores - Implements sort_email_t -. | |
| static int | email_sort_size (const struct Email *a, const struct Email *b, bool reverse) |
| Compare the size of two emails - Implements sort_email_t -. | |
| static int | email_sort_date (const struct Email *a, const struct Email *b, bool reverse) |
| Compare the sent date of two emails - Implements sort_email_t -. | |
| static int | email_sort_subject (const struct Email *a, const struct Email *b, bool reverse) |
| Compare the subject of two emails - Implements sort_email_t -. | |
| static int | email_sort_to (const struct Email *a, const struct Email *b, bool reverse) |
| Compare the 'to' fields of two emails - Implements sort_email_t -. | |
| static int | email_sort_from (const struct Email *a, const struct Email *b, bool reverse) |
| Compare the 'from' fields of two emails - Implements sort_email_t -. | |
| static int | email_sort_date_received (const struct Email *a, const struct Email *b, bool reverse) |
| Compare the date received of two emails - Implements sort_email_t -. | |
| static int | email_sort_unsorted (const struct Email *a, const struct Email *b, bool reverse) |
| Restore the 'unsorted' order of emails - Implements sort_email_t -. | |
| static int | email_sort_spam (const struct Email *a, const struct Email *b, bool reverse) |
| Compare the spam values of two emails - Implements sort_email_t -. | |
| static int | email_sort_label (const struct Email *a, const struct Email *b, bool reverse) |
| Compare the labels of two emails - Implements sort_email_t -. | |
| int | nntp_sort_unsorted (const struct Email *a, const struct Email *b, bool reverse) |
| Restore the 'unsorted' order of emails - Implements sort_email_t -. | |
Prototype for an email comparison function.
| a | First item |
| b | Second item |
| reverse | true if this is a reverse sort (smaller b precedes a) |
| <0 | a precedes b |
| 0 | a and b are identical |
| >0 | b precedes a |
Compare two emails using their scores - Implements sort_email_t -.
Definition at line 80 of file sort.c.
Here is the caller graph for this function:Compare the size of two emails - Implements sort_email_t -.
Definition at line 89 of file sort.c.
Here is the caller graph for this function:Compare the sent date of two emails - Implements sort_email_t -.
Definition at line 98 of file sort.c.
Here is the caller graph for this function:
|
static |
Compare the subject of two emails - Implements sort_email_t -.
Definition at line 107 of file sort.c.
Here is the call graph for this function:
Here is the caller graph for this function:Compare the 'to' fields of two emails - Implements sort_email_t -.
Definition at line 160 of file sort.c.
Here is the call graph for this function:
Here is the caller graph for this function:Compare the 'from' fields of two emails - Implements sort_email_t -.
Definition at line 173 of file sort.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Compare the date received of two emails - Implements sort_email_t -.
Definition at line 186 of file sort.c.
Here is the caller graph for this function:
|
static |
Restore the 'unsorted' order of emails - Implements sort_email_t -.
Definition at line 195 of file sort.c.
Here is the caller graph for this function:Compare the spam values of two emails - Implements sort_email_t -.
Definition at line 204 of file sort.c.
Here is the call graph for this function:
Here is the caller graph for this function:Compare the labels of two emails - Implements sort_email_t -.
Definition at line 253 of file sort.c.
Here is the call graph for this function:
Here is the caller graph for this function:Restore the 'unsorted' order of emails - Implements sort_email_t -.
Definition at line 2355 of file nntp.c.
Here is the call graph for this function:
Here is the caller graph for this function: