X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/2eee4b0cd743865445a5023e8c10467cdc9b350e..2563dc1f46fad1640e2472151a9f1cf918f841b9:/lib/configuration.h diff --git a/lib/configuration.h b/lib/configuration.h index cc7e1e3..d269beb 100644 --- a/lib/configuration.h +++ b/lib/configuration.h @@ -185,6 +185,9 @@ struct config { */ int api; + /** @brief Maximum size of a playlist */ + long playlist_max; + /* These values had better be non-negative */ #define BACKEND_ALSA 0 /**< Use ALSA (Linux only) */ #define BACKEND_COMMAND 1 /**< Execute a command */ @@ -311,6 +314,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 */