65 ServerConfig *serverconf; |
65 ServerConfig *serverconf; |
66 ServerConfiguration *cfg; |
66 ServerConfiguration *cfg; |
67 } CfgManager; |
67 } CfgManager; |
68 |
68 |
69 struct ServerConfiguration { |
69 struct ServerConfiguration { |
70 pool_handle_t *pool; |
70 pool_handle_t *pool; |
71 CxAllocator *a; |
71 CxAllocator *a; |
|
72 |
|
73 ServerConfiguration *next; |
72 |
74 |
73 CxMap *host_vs; // map of all vservers. key is the host name |
75 CxMap *host_vs; // map of all vservers. key is the host name |
74 CxList *listeners; // list of all listeners - TODO: remove |
76 CxList *listeners; // list of all listeners - TODO: remove |
75 |
77 |
76 CxMap *listeners2; |
78 CxMap *listeners2; |
77 |
79 |
78 CxList *logfiles; |
80 CxList *logfiles; |
79 AccessLog *default_log; |
81 AccessLog *default_log; |
80 CxMap *authdbs; |
82 CxMap *authdbs; |
81 MimeMap *mimetypes; |
83 MimeMap *mimetypes; |
82 CxMap *resources; |
84 CxMap *resources; |
83 CxMap *dav; |
85 CxMap *dav; |
84 cxmutstr tmp; |
86 cxmutstr tmp; |
85 cxmutstr user; |
87 cxmutstr user; |
86 uint32_t ref; // reference counter |
88 uint32_t ref; // reference counter |
87 }; |
89 }; |
88 |
90 |
89 struct WebdavRepository { |
91 struct WebdavRepository { |
90 VfsType *vfs; |
92 VfsType *vfs; |
91 void *vfsInitData; |
93 void *vfsInitData; |