X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=onak-conf.h;h=34dcff2edd89c45aa3c63a4bb01bf23b2e3599a1;hb=8e0907be1d73011075a99a0c029c56664e12843e;hp=eb3d91cb67d66903737492fa8f1f6af83f78306b;hpb=d38e1f468376f8b19b208f2da4d20cb2919875dd;p=onak.git diff --git a/onak-conf.h b/onak-conf.h index eb3d91c..34dcff2 100644 --- a/onak-conf.h +++ b/onak-conf.h @@ -51,7 +51,7 @@ struct onak_config { /* * Options for any database backend that needs a directory, be it the - * file, db2 or db3 options. + * file, fs or db4 options. */ /** The path to the directory containing the database files. */ char *db_dir; @@ -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;