PGP Key Sorting. More...
#include "config.h"
#include <locale.h>
#include <stdbool.h>
#include "mutt/lib.h"
#include "config/lib.h"
#include "core/lib.h"
#include "lib.h"
#include "pgp.h"
#include "pgplib.h"
#include "sort.h"
Go to the source code of this file.
Functions | |
static int | pgp_sort_address (const void *a, const void *b, void *sdata) |
Compare two keys by their addresses - Implements sort_t -. | |
static int | pgp_sort_date (const void *a, const void *b, void *sdata) |
Compare two keys by their dates - Implements sort_t -. | |
static int | pgp_sort_keyid (const void *a, const void *b, void *sdata) |
Compare two keys by their IDs - Implements sort_t -. | |
static int | pgp_sort_trust (const void *a, const void *b, void *sdata) |
Compare two keys by their trust levels - Implements sort_t -. | |
void | pgp_sort_keys (struct PgpUidArray *pua) |
Sort an array of PGP keys. | |
PGP Key Sorting.
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_pgp.c.
void pgp_sort_keys | ( | struct PgpUidArray * | pua | ) |
Sort an array of PGP keys.
pua | Array to sort |
Sort PGP keys according to $pgp_sort_keys
Definition at line 142 of file sort_pgp.c.