X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=onak-conf.h;h=52439abc1979692e2ccea40bac554aeddd835d6f;hb=refs%2Ftags%2Fonak-0.4.6;hp=eb3d91cb67d66903737492fa8f1f6af83f78306b;hpb=d38e1f468376f8b19b208f2da4d20cb2919875dd;p=onak.git diff --git a/onak-conf.h b/onak-conf.h index eb3d91c..52439ab 100644 --- a/onak-conf.h +++ b/onak-conf.h @@ -48,10 +48,12 @@ 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 - * file, db2 or db3 options. + * file, fs or db4 options. */ /** The path to the directory containing the database files. */ char *db_dir; @@ -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;