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