cscvs to tla changeset 77
[onak.git] / keyindex.h
1 /*
2  * keyindex.h - Routines to list an OpenPGP key.
3  *
4  * Jonathan McDowell <noodles@earth.li>
5  *
6  * Copyright 2002 Project Purple
7  *
8  * $Id: keyindex.h,v 1.5 2003/06/04 20:57:09 noodles Exp $
9  */
10
11 #ifndef __KEYINDEX_H__
12 #define __KEYINDEX_H__
13
14 #include <stdbool.h>
15
16 #include "keystructs.h"
17
18 /**
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?
24  *
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.
27  */
28 int key_index(struct openpgp_publickey *keys, bool verbose,
29                 bool fingerprint, bool html);
30
31 #endif