]> the.earth.li Git - onak.git/blobdiff - keydb.h
Cleanup various includes
[onak.git] / keydb.h
diff --git a/keydb.h b/keydb.h
index 50f969a303831c5f8cbc27c77d5eb0568f40f29a..29dde7b8dc243a25a9c7aa438d11f06626f24cab 100644 (file)
--- a/keydb.h
+++ b/keydb.h
@@ -21,6 +21,7 @@
 #ifndef __KEYDB_H__
 #define __KEYDB_H__
 
+#include <stdbool.h>
 #include <inttypes.h>
 
 #include "keystructs.h"
@@ -81,8 +82,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 +208,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.
  */