X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/c444d104cdc0250cd23b5013fee3e56000e23ae5..5b3f77c7fbafb036d20a1577ed74f475e94ed821:/onak-conf.c 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) {