Include a Date: header in mail sent by the CGI. We always use UTC
[disorder] / lib / configuration.h
index abb95a6..f965bbd 100644 (file)
@@ -177,12 +177,12 @@ struct config {
   /** @brief Sox syntax generation */
   long sox_generation;
 
-  /** @brief Speaker backend
+  /** @brief API used to play sound
    *
    * Choices are @ref BACKEND_ALSA, @ref BACKEND_COMMAND or @ref
    * BACKEND_NETWORK.
    */
-  int speaker_backend;
+  int api;
 #define BACKEND_ALSA 0                 /**< Use ALSA (Linux only) */
 #define BACKEND_COMMAND 1              /**< Execute a command */
 #define BACKEND_NETWORK 2              /**< Transmit RTP  */
@@ -255,6 +255,12 @@ struct config {
 
   /** @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 */