X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=onak-conf.h;h=16763c6d1d8ff3fc6de91a1f1a8c8159abf8069b;hb=316f1bb1d6915d509f9bee0508922858b103d243;hp=0a36c9adf6733344b73fecd0e48ecc540f8f8218;hpb=ec6d9d2d119c9b215103c13bcc5b9b44bd24b997;p=onak.git diff --git a/onak-conf.h b/onak-conf.h index 0a36c9a..16763c6 100644 --- a/onak-conf.h +++ b/onak-conf.h @@ -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. @@ -38,6 +40,11 @@ struct onak_config { 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. @@ -57,6 +64,8 @@ struct onak_config { */ char *db_backend; char *backends_dir; + + struct dbfuncs *dbbackend; }; /*