X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/ec6d9d2d119c9b215103c13bcc5b9b44bd24b997..348e7d134e9243fd72cf8fbe366c77c1571faec1:/onak-conf.c?ds=inline diff --git a/onak-conf.c b/onak-conf.c index 0958502..70990f8 100644 --- a/onak-conf.c +++ b/onak-conf.c @@ -17,6 +17,8 @@ #include "log.h" #include "onak-conf.h" +extern struct dbfuncs DBFUNCS; + /* * config - Runtime configuration for onak. * @@ -49,6 +51,8 @@ struct onak_config config = { */ NULL, /* db_backend */ NULL, /* backends_dir */ + + &DBFUNCS, /* Default dbfuncs struct */ }; void readconfig(const char *configfile) {