]> the.earth.li Git - onak.git/blobdiff - onak-conf.h
Switch to using mail_dir for incoming mail lock file
[onak.git] / onak-conf.h
index eb3d91cb67d66903737492fa8f1f6af83f78306b..52439abc1979692e2ccea40bac554aeddd835d6f 100644 (file)
@@ -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;