]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - onak-conf.h
Add man page for keyd, even though it's not currently recommended for
[onak.git] / onak-conf.h
index 7b3941528647852fc3a7152e9f5749a53101af65..11bdbdb5bae189f683c80c77a82817b559fd2373 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.
@@ -51,6 +53,14 @@ struct onak_config {
        char *pg_dbname;
        char *pg_dbuser;
        char *pg_dbpass;
+
+       /*
+        * Options for the dynamic backend.
+        */
+       char *db_backend;
+       char *backends_dir;
+
+       struct dbfuncs *dbbackend;
 };
 
 /*