X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/2eee4b0cd743865445a5023e8c10467cdc9b350e..440af55d72c65f5c149718dc52abd00f512ffb71:/lib/configuration.h diff --git a/lib/configuration.h b/lib/configuration.h index cc7e1e3..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 */ @@ -311,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 */