#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.
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 *db_backend;
char *backends_dir;
+
+ struct dbfuncs *dbbackend;
};
/*