Add -1 to Debian package version
[onak.git] / onak-conf.h
index 0a36c9adf6733344b73fecd0e48ecc540f8f8218..16763c6d1d8ff3fc6de91a1f1a8c8159abf8069b 100644 (file)
@@ -9,6 +9,8 @@
 #ifndef __ONAK_CONF_H_
 #define __ONAK_CONF_H_
 
+#include "keydb.h"
+
 /*
  *     struct onak_config - Runtime configuration for onak.
  *     @maxkeys: The maximum number of keys a query should return.
@@ -38,6 +40,11 @@ struct onak_config {
        struct ll *syncsites;
        char *logfile;
 
+       /*
+        * Set if we're using keyd as the backend.
+        */
+       bool use_keyd;
+
        /*
         * Options for any database backend that needs a directory, be it the
         * file, db2 or db3 options.
@@ -57,6 +64,8 @@ struct onak_config {
         */
        char *db_backend;
        char *backends_dir;
+
+       struct dbfuncs *dbbackend;
 };
 
 /*