X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/ec6d9d2d119c9b215103c13bcc5b9b44bd24b997..076ef5c84d05a564ed8031ced310336b3b331dfe:/onak-conf.h 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; }; /*