]> the.earth.li Git - onak.git/blobdiff - onak-conf.h
Use dynamic context for all backend databases
[onak.git] / onak-conf.h
index 2a9e335c91dc54d64b11b7ff2e910c9155c26430..34dcff2edd89c45aa3c63a4bb01bf23b2e3599a1 100644 (file)
@@ -76,8 +76,8 @@ struct onak_config {
        /** Directory where backend .so files can be found */
        char *backends_dir;
 
-       /** Pointer to the function table for our loaded DB backend */
-       struct dbfuncs *dbbackend;
+       /** Pointer to the initialisation function for our loaded DB backend */
+       struct onak_dbctx *(*dbinit)(bool);
 
        /** Should we verify signature hashes match? */
        bool check_sighash;