X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/ec6d9d2d119c9b215103c13bcc5b9b44bd24b997..2fcd017b224f36a75a8e556019920d8bf6db024f:/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) {