X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/8e58a1769ce5e492dd68904dfc81b6e077fc2a3a..bff92fa7e9583ebaa3de745aba04c66b132c849e:/keyindex.h diff --git a/keyindex.h b/keyindex.h index 5b567bc..110d234 100644 --- a/keyindex.h +++ b/keyindex.h @@ -4,6 +4,8 @@ * Jonathan McDowell * * Copyright 2002 Project Purple + * + * $Id: keyindex.h,v 1.6 2003/06/08 19:04:32 noodles Exp $ */ #ifndef __KEYINDEX_H__ @@ -27,25 +29,11 @@ int key_index(struct openpgp_publickey *keys, bool verbose, bool fingerprint, bool html); /** - * keysigs - Return the sigs on a given OpenPGP signature packet list. - * @curll: The current linked list. Can be NULL to create a new list. - * @sigs: The signature list we want the sigs on. - * - * Returns a linked list of stats_key elements containing the sigs for the - * supplied OpenPGP signature packet list. - */ -struct ll *keysigs(struct ll *curll, - struct openpgp_packet_list *sigs); - -/** - * keyuids - Takes a key and returns an array of its UIDs - * @key: The key to get the uids of. - * @primary: A pointer to store the primary UID in. + * mrkey_index - List a set of OpenPGP keys in the MRHKP format. + * @keys: The keys to display. * - * keyuids takes a public key structure and builds an array of the UIDs - * on the key. It also attempts to work out the primary UID and returns a - * separate pointer to that particular element of the array. + * This function takes a list of OpenPGP public keys and displays a + * machine readable list of them. */ -char **keyuids(struct openpgp_publickey *key, char **primary); - +int mrkey_index(struct openpgp_publickey *keys); #endif