X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/b12be54a68a7738d948d866eb7b9231f8e55a12e..07bc035e2ec3e4fb109fb36ad5f1fd751a960e70:/lib/configuration.h?ds=sidebyside diff --git a/lib/configuration.h b/lib/configuration.h index eb028b0..d212a7a 100644 --- a/lib/configuration.h +++ b/lib/configuration.h @@ -25,6 +25,7 @@ #define CONFIGURATION_H #include "speaker-protocol.h" +#include "rights.h" struct real_pcre; @@ -204,7 +205,7 @@ struct config { struct stringlist templates; /** @brief Canonical URL of web interface */ - const char *url; + char *url; /** @brief Short display limit */ long short_display; @@ -251,6 +252,15 @@ struct config { /** @brief Signing key lifetime in seconds */ long cookie_key_lifetime; + + /** @brief Default rights for a new user */ + char *default_rights; + + /** @brief SMTP server for sending mail */ + char *smtp_server; + + /** @brief Origin address for outbound mail */ + char *mail_sender; /* derived values: */ int nparts; /* number of distinct name parts */