mod_musicindex  1.4.1
config.h
Go to the documentation of this file.
1 /*
2  * config.h
3  * mod_musicindex
4  *
5  * $Id: config.h 1001 2012-07-30 18:45:20Z varenet $
6  *
7  * Created by Thibaut VARENE on Thu Mar 20 2003.
8  * Copyright (c) 2003-2005 Regis BOUDIN
9  * Copyright (c) 2003-2004 Thibaut VARENE
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 2.1,
13  * as published by the Free Software Foundation.
14  *
15  */
16 
17 #ifndef CONFIG_H
18 #define CONFIG_H
19 
20 #include "mod_musicindex.h"
21 
22 #define CONF_COOKIE_LIFE 300
23 #define CONF_RSS_ITEMS 20
24 #define CONF_DIRPERLINE 3
26 /*
27  * Flags used in mu_config struct, field "sets".
28  * 16 bits max.
29  */
30 #define CF_TITLE (1 << 0)
31 #define CF_DIR (1 << 1)
32 #define CF_CSS (1 << 2)
33 #define CF_ICES (1 << 3)
34 #define CF_CACHE (1 << 4)
35 #define CF_DPL (1 << 5)
36 #define CF_CKLF (1 << 6)
37 #define CF_RSS (1 << 7)
38 #define CF_ORDER (1 << 8)
39 #define CF_FIELDS (1 << 9)
41 #define CF_MERGED (1 << 15)
43 void *create_musicindex_config(apr_pool_t *p, char *dummy);
44 
45 void *merge_musicindex_configs(apr_pool_t *p, void *basev, void *addv);
46 
47 extern const command_rec musicindex_cmds[];
48 
49 #endif /* CONFIG_H */