]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - onak-conf.c
"Recognize" some extra subpacket types
[onak.git] / onak-conf.c
index 0958502b4d57923119fa0f75d337f58bbe8e301f..70990f87b174ab5565be42d9cf54088265bae512 100644 (file)
@@ -17,6 +17,8 @@
 #include "log.h"
 #include "onak-conf.h"
 
 #include "log.h"
 #include "onak-conf.h"
 
+extern struct dbfuncs DBFUNCS;
+
 /*
  *     config - Runtime configuration for onak.
  *
 /*
  *     config - Runtime configuration for onak.
  *
@@ -49,6 +51,8 @@ struct onak_config config = {
         */
        NULL,                   /* db_backend */
        NULL,                   /* backends_dir */
         */
        NULL,                   /* db_backend */
        NULL,                   /* backends_dir */
+
+       &DBFUNCS,               /* Default dbfuncs struct */
 };
 
 void readconfig(const char *configfile) {
 };
 
 void readconfig(const char *configfile) {