Add support for displaying/retrieving by SKS hash to lookup and onak CLI
[onak.git] / keyindex.h
index 81202241d7f616ed32d54a01c0c2ccb62d358930..c3cb9eca4ed6c847f1896697c35ffa978523113e 100644 (file)
@@ -4,8 +4,6 @@
  * Jonathan McDowell <noodles@earth.li>
  *
  * Copyright 2002 Project Purple
- *
- * $Id: keyindex.h,v 1.5 2003/06/04 20:57:09 noodles Exp $
  */
 
 #ifndef __KEYINDEX_H__
  *     @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