#ifndef __ONAK_CONF_H_
#define __ONAK_CONF_H_
-#define VERSION "0.2.1"
+#include "keydb.h"
/*
* struct onak_config - Runtime configuration for onak.
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.
char *pg_dbname;
char *pg_dbuser;
char *pg_dbpass;
+
+ /*
+ * Options for the dynamic backend.
+ */
+ char *db_backend;
+ char *backends_dir;
+
+ struct dbfuncs *dbbackend;
};
/*