X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/0f4971d043c38bae1bfb95201622a1405110f899..5d25774c5cd9f80709f852f79bce26d582fad360:/keyindex.h diff --git a/keyindex.h b/keyindex.h index 8120224..c3cb9ec 100644 --- a/keyindex.h +++ b/keyindex.h @@ -4,8 +4,6 @@ * Jonathan McDowell * * Copyright 2002 Project Purple - * - * $Id: keyindex.h,v 1.5 2003/06/04 20:57:09 noodles Exp $ */ #ifndef __KEYINDEX_H__ @@ -20,12 +18,21 @@ * @keys: The keys to display. * @verbose: Should we list sigs as well? * @fingerprint: List the fingerprint? + * @skshash: List the sks hash? * @html: Should we tailor the output for HTML? * * This function takes a list of OpenPGP public keys and displays an index * of them. Useful for debugging or the keyserver Index function. */ int key_index(struct openpgp_publickey *keys, bool verbose, - bool fingerprint, bool html); + bool fingerprint, bool skshash, bool html); +/** + * mrkey_index - List a set of OpenPGP keys in the MRHKP format. + * @keys: The keys to display. + * + * This function takes a list of OpenPGP public keys and displays a + * machine readable list of them. + */ +int mrkey_index(struct openpgp_publickey *keys); #endif