X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=keydb.h;h=05405c334f8b06eca398cf7d19b977d8c897d622;hb=fd9ca85878543771a7f09afd821a5a5511e71aea;hp=50f969a303831c5f8cbc27c77d5eb0568f40f29a;hpb=8e0907be1d73011075a99a0c029c56664e12843e;p=onak.git
diff --git a/keydb.h b/keydb.h
index 50f969a..05405c3 100644
--- a/keydb.h
+++ b/keydb.h
@@ -14,13 +14,13 @@
* 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 .
*/
#ifndef __KEYDB_H__
#define __KEYDB_H__
+#include
#include
#include "keystructs.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.
*/