X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=keyindex.h;h=81202241d7f616ed32d54a01c0c2ccb62d358930;hb=a8b85fe447aaf5520ba259ab9eeb86a7f3446763;hp=c0b29ed5becd268f2ce4137bfce0d92ba42c961e;hpb=fa2c30bab91ed66c52bc4c2fdd025602f3737d42;p=onak.git diff --git a/keyindex.h b/keyindex.h index c0b29ed..8120224 100644 --- a/keyindex.h +++ b/keyindex.h @@ -4,6 +4,8 @@ * Jonathan McDowell * * Copyright 2002 Project Purple + * + * $Id: keyindex.h,v 1.5 2003/06/04 20:57:09 noodles Exp $ */ #ifndef __KEYINDEX_H__ @@ -26,34 +28,4 @@ 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); - -/** - * sig_keyid - Return the keyid for a given OpenPGP signature packet. - * @packet: The signature packet. - * - * Returns the keyid for the supplied signature packet. - */ -uint64_t sig_keyid(struct openpgp_packet *packet); - -/** - * 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. - * - * 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. - */ -char **keyuids(struct openpgp_publickey *key, char **primary); - #endif