X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/9417e1a3cc1e271731a15af771234f92da8d2646..62416f14c03628e3ed3073a9ef38a4d97281d9e0:/lib/configuration.h diff --git a/lib/configuration.h b/lib/configuration.h index 875b9d6..0371f3e 100644 --- a/lib/configuration.h +++ b/lib/configuration.h @@ -1,6 +1,6 @@ /* * This file is part of DisOrder. - * Copyright (C) 2004-2009 Richard Kettlewell + * Copyright (C) 2004-2010 Richard Kettlewell * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -185,6 +185,12 @@ struct config { /** @brief API used to play sound */ const char *api; + /** @brief Maximum size of a playlist */ + long playlist_max; + + /** @brief Maximum lifetime of a playlist lock */ + long playlist_lock_timeout; + /** @brief Home directory for state files */ const char *home; @@ -314,6 +320,8 @@ char *config_usersysconf(const struct passwd *pw ); char *config_private(void); /* get the private config file */ +int config_verify(void); + extern char *configfile; extern int config_per_user;