]> the.earth.li Git - onak.git/blobdiff - onak-conf.h
Parse pks_bin_dir / mail_dir in the C config handling
[onak.git] / onak-conf.h
index 0d937c23d3578db380935a3dc6f322074718add3..d0495207af945f561e26d778f18a65c566fb845b 100644 (file)
@@ -89,6 +89,16 @@ struct onak_config {
 
        /** Should we verify signature hashes match? */
        bool check_sighash;
+
+       /*
+        * Options used by the email handling script.
+        * None of the C code uses this information, but we should be able
+        * to parse it.
+        */
+       /** Location of the onak binary, so the mail script can find it. */
+       char *bin_dir;
+       /** Where incoming mail gets queue, one file per mail. */
+       char *mail_dir;
 };
 
 /**