projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make compare_packet follow memcmp semantics and export to other modules
[onak.git]
/
onak-conf.h
diff --git
a/onak-conf.h
b/onak-conf.h
index 03f1e8bb75ea7918440dcb6452d6653c736515a2..16763c6d1d8ff3fc6de91a1f1a8c8159abf8069b 100644
(file)
--- a/
onak-conf.h
+++ b/
onak-conf.h
@@
-9,7
+9,7
@@
#ifndef __ONAK_CONF_H_
#define __ONAK_CONF_H_
#ifndef __ONAK_CONF_H_
#define __ONAK_CONF_H_
-#
define VERSION "0.2.1
"
+#
include "keydb.h
"
/*
* struct onak_config - Runtime configuration for onak.
/*
* struct onak_config - Runtime configuration for onak.
@@
-40,6
+40,11
@@
struct onak_config {
struct ll *syncsites;
char *logfile;
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.
/*
* Options for any database backend that needs a directory, be it the
* file, db2 or db3 options.
@@
-53,6
+58,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;
};
/*
};
/*