]> 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 b0387adf657a0f5c1b35c6ba6d219b07575eeae0..11bdbdb5bae189f683c80c77a82817b559fd2373 100644 (file)
@@ -9,8 +9,7 @@
 #ifndef __ONAK_CONF_H_
 #define __ONAK_CONF_H_
 
 #ifndef __ONAK_CONF_H_
 #define __ONAK_CONF_H_
 
-#define VERSION "0.2.1"
-#define CONFIGFILE "/home/noodles/projects/onak/onak.conf"
+#include "keydb.h"
 
 /*
  *     struct onak_config - Runtime configuration for onak.
 
 /*
  *     struct onak_config - Runtime configuration for onak.
@@ -54,6 +53,14 @@ struct onak_config {
        char *pg_dbname;
        char *pg_dbuser;
        char *pg_dbpass;
        char *pg_dbname;
        char *pg_dbuser;
        char *pg_dbpass;
+
+       /*
+        * Options for the dynamic backend.
+        */
+       char *db_backend;
+       char *backends_dir;
+
+       struct dbfuncs *dbbackend;
 };
 
 /*
 };
 
 /*