]> the.earth.li Git - onak.git/blobdiff - keyindex.h
Fix compilation with later versions of Nettle
[onak.git] / keyindex.h
index c9a584328cb0b43ea24a79a80bc687947832890b..4b10e4517c755ddaab20ab0c6c1eb0d0a5f67ea1 100644 (file)
@@ -13,8 +13,7 @@
  * more details.
  *
  * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ * this program.  If not, see <https://www.gnu.org/licenses/>.
  */
 
 #ifndef __KEYINDEX_H__
@@ -22,6 +21,7 @@
 
 #include <stdbool.h>
 
+#include "keydb.h"
 #include "keystructs.h"
 
 /**
@@ -35,7 +35,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);
 
 /**