X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=onak-conf.h;h=52439abc1979692e2ccea40bac554aeddd835d6f;hb=4117d3174e8ae389db9fff2867592fc798a896b2;hp=2a9e335c91dc54d64b11b7ff2e910c9155c26430;hpb=a38e8ca995bf1a5d20dc81bed265fc8a58cec2b5;p=onak.git diff --git a/onak-conf.h b/onak-conf.h index 2a9e335..52439ab 100644 --- a/onak-conf.h +++ b/onak-conf.h @@ -48,6 +48,8 @@ struct onak_config { /** Set if we're using keyd as the backend. */ bool use_keyd; + /** The path to the directory the keyd socket lives in. */ + char *sock_dir; /* * Options for any database backend that needs a directory, be it the @@ -76,8 +78,8 @@ struct onak_config { /** Directory where backend .so files can be found */ char *backends_dir; - /** Pointer to the function table for our loaded DB backend */ - struct dbfuncs *dbbackend; + /** Pointer to the initialisation function for our loaded DB backend */ + struct onak_dbctx *(*dbinit)(bool); /** Should we verify signature hashes match? */ bool check_sighash;