]> the.earth.li Git - onak.git/blobdiff - keyindex.h
Use dynamic context for all backend databases
[onak.git] / keyindex.h
index c9a584328cb0b43ea24a79a80bc687947832890b..8a4e529e9545ee0c2be500a569cfa9cf45bdeb7d 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <stdbool.h>
 
+#include "keydb.h"
 #include "keystructs.h"
 
 /**
@@ -35,7 +36,8 @@
  *     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,
+int key_index(struct onak_dbctx *dbctx,
+               struct openpgp_publickey *keys, bool verbose,
                bool fingerprint, bool skshash, bool html);
 
 /**