38:d07810b02147 | 39:de4bc3cd2d36 |
---|---|
34 #include "../util/object.h" | 34 #include "../util/object.h" |
35 | 35 |
36 #include "../config/objconf.h" | 36 #include "../config/objconf.h" |
37 #include "../config/initconf.h" | 37 #include "../config/initconf.h" |
38 #include "../config/serverconf.h" | 38 #include "../config/serverconf.h" |
39 #include "../config/mimeconf.h" | |
39 | 40 |
40 #include "../ucx/list.h" | 41 #include "../ucx/list.h" |
41 #include "../ucx/dlist.h" | 42 #include "../ucx/dlist.h" |
42 #include "../ucx/map.h" | 43 #include "../ucx/map.h" |
43 #include "../ucx/mempool.h" | 44 #include "../ucx/mempool.h" |
52 pool_handle_t *pool; | 53 pool_handle_t *pool; |
53 UcxMap *host_vs; // map of all vservers. key is the host name | 54 UcxMap *host_vs; // map of all vservers. key is the host name |
54 UcxList *listeners; // list of all listeners | 55 UcxList *listeners; // list of all listeners |
55 UcxList *logfiles; | 56 UcxList *logfiles; |
56 UcxMap *authdbs; | 57 UcxMap *authdbs; |
58 UcxMap *mimetypes; | |
57 sstr_t tmp; | 59 sstr_t tmp; |
58 sstr_t user; | 60 sstr_t user; |
59 uint32_t ref; // reference counter | 61 uint32_t ref; // reference counter |
60 } ServerConfiguration; | 62 } ServerConfiguration; |
61 | 63 |
96 | 98 |
97 int object_conf_reload(ConfigFile *file, ServerConfiguration *cfg); | 99 int object_conf_reload(ConfigFile *file, ServerConfiguration *cfg); |
98 | 100 |
99 HTTPObjectConfig* load_obj_conf(char *file); | 101 HTTPObjectConfig* load_obj_conf(char *file); |
100 | 102 |
103 int mime_conf_reload(ConfigFile *file, ServerConfiguration *cfg); | |
104 | |
101 | 105 |
102 | 106 |
103 #ifdef __cplusplus | 107 #ifdef __cplusplus |
104 } | 108 } |
105 #endif | 109 #endif |