Address book sorting functions. More...
#include "config.h"#include <stdbool.h>#include <stddef.h>#include "mutt/lib.h"#include "address/lib.h"#include "config/lib.h"#include "sort.h"#include "alias.h"#include "gui.h"
Include dependency graph for sort.c:Go to the source code of this file.
Functions | |
| static int | alias_sort_alias (const void *a, const void *b, void *sdata) |
| Compare two Aliases by their short names - Implements sort_t -. | |
| static int | alias_sort_email (const void *a, const void *b, void *sdata) |
| Compare two Aliases by their Email Addresses - Implements sort_t -. | |
| static int | alias_sort_name (const void *a, const void *b, void *sdata) |
| Compare two Aliases by their Names - Implements sort_t -. | |
| static int | alias_sort_unsorted (const void *a, const void *b, void *sdata) |
| Compare two Aliases by their original configuration position - Implements sort_t -. | |
| static sort_t | alias_get_sort_function (short sort) |
| Sorting function decision logic. | |
| void | alias_array_sort (struct AliasViewArray *ava, const struct ConfigSubset *sub) |
| Sort and reindex an AliasViewArray. | |
Address book sorting functions.
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.c.
|
static |
Sorting function decision logic.
| sort | Sort method, e.g. ALIAS_SORT_ALIAS |
Definition at line 209 of file sort.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void alias_array_sort | ( | struct AliasViewArray * | ava, |
| const struct ConfigSubset * | sub ) |
Sort and reindex an AliasViewArray.
| ava | Array of Aliases |
| sub | Config items |
Definition at line 235 of file sort.c.
Here is the call graph for this function:
Here is the caller graph for this function: