]> the.earth.li Git - onak.git/blobdiff - keydb.h
Include statistics for fetching by SKS hash in "keydctl status"
[onak.git] / keydb.h
diff --git a/keydb.h b/keydb.h
index 50f969a303831c5f8cbc27c77d5eb0568f40f29a..d7515c8f7881452b259b6ae8e6ecf30bb1a6149a 100644 (file)
--- a/keydb.h
+++ b/keydb.h
@@ -81,8 +81,7 @@ struct onak_dbctx {
  * are using.
  */
        int (*fetch_key_fp)(struct onak_dbctx *,
-                       uint8_t *fp,
-                       size_t fpsize,
+                       struct openpgp_fingerprint *fingerprint,
                        struct openpgp_publickey **publickey,
                        bool intrans);
 
@@ -208,6 +207,11 @@ struct onak_dbctx {
                        void (*iterfunc)(void *ctx,
                        struct openpgp_publickey *key), void *ctx);
 
+/**
+ * @brief Configuration file information for this backend instance
+ */
+       struct onak_db_config *config;
+
 /**
  * @brief Private backend context information.
  */