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.5 2003/06/04 20:57:09 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);