2 * keyindex.h - Routines to list an OpenPGP key.
4 * Jonathan McDowell <noodles@earth.li>
6 * Copyright 2002 Project Purple
8 * $Id: keyindex.h,v 1.6 2003/06/08 19:04:32 noodles Exp $
11 #ifndef __KEYINDEX_H__
12 #define __KEYINDEX_H__
16 #include "keystructs.h"
19 * key_index - List a set of OpenPGP keys.
20 * @keys: The keys to display.
21 * @verbose: Should we list sigs as well?
22 * @fingerprint: List the fingerprint?
23 * @html: Should we tailor the output for HTML?
25 * This function takes a list of OpenPGP public keys and displays an index
26 * of them. Useful for debugging or the keyserver Index function.
28 int key_index(struct openpgp_publickey *keys, bool verbose,
29 bool fingerprint, bool html);
32 * mrkey_index - List a set of OpenPGP keys in the MRHKP format.
33 * @keys: The keys to display.
35 * This function takes a list of OpenPGP public keys and displays a
36 * machine readable list of them.
38 int mrkey_index(struct openpgp_publickey *keys);