X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/05b75f8d50b83e943af3be4071449304d82dbdcd..440af55d72c65f5c149718dc52abd00f512ffb71:/lib/configuration.h diff --git a/lib/configuration.h b/lib/configuration.h index 51dc835..b94b684 100644 --- a/lib/configuration.h +++ b/lib/configuration.h @@ -185,6 +185,12 @@ struct config { */ int api; + /** @brief Maximum size of a playlist */ + long playlist_max; + + /** @brief Maximum lifetime of a playlist lock */ + long playlist_lock_timeout; + /* These values had better be non-negative */ #define BACKEND_ALSA 0 /**< Use ALSA (Linux only) */ #define BACKEND_COMMAND 1 /**< Execute a command */ @@ -272,6 +278,9 @@ struct config { /** @brief Default rights for a new user */ char *default_rights; + /** @brief Path to sendmail executable */ + char *sendmail; + /** @brief SMTP server for sending mail */ char *smtp_server; @@ -308,6 +317,7 @@ int config_read(int server); /* re-read config, return 0 on success or non-0 on error. * Only updates @config@ if the new configuration is valid. */ +char *config_get_file2(struct config *c, const char *name); char *config_get_file(const char *name); /* get a filename within the home directory */