chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Suppress no-collection log message for scratches
[disorder]
/
lib
/
configuration.h
diff --git
a/lib/configuration.h
b/lib/configuration.h
index e9fce7359a48da7aa409a7e4169e32a2f879f78c..9170a2f2b752c118e937099a1fa38e116a4015d1 100644
(file)
--- a/
lib/configuration.h
+++ b/
lib/configuration.h
@@
-70,7
+70,8
@@
struct collectionlist {
struct namepart {
char *part; /* part */
struct namepart {
char *part; /* part */
- pcre *re; /* regexp */
+ pcre *re; /* compiled regexp */
+ char *res; /* regexp as a string */
char *replace; /* replacement string */
char *context; /* context glob */
unsigned reflags; /* regexp flags */
char *replace; /* replacement string */
char *context; /* context glob */
unsigned reflags; /* regexp flags */
@@
-184,6
+185,12
@@
struct config {
/** @brief API used to play sound */
const char *api;
/** @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;
/** @brief Home directory for state files */
const char *home;