| 213 | } |
| 214 | |
| 215 | DAV_DECLARE(const dav_provider *) dav_get_provider(request_rec *r) |
| 216 | { |
| 217 | dav_dir_conf *conf; |
| 218 | |
| 219 | conf = ap_get_module_config(r->per_dir_config, &dav_module); |
| 220 | /* assert: conf->provider_name != NULL |
| 221 | (otherwise, DAV is disabled, and we wouldn't be here) */ |
| 222 | |
| 223 | /* assert: conf->provider != NULL |
| 224 | (checked when conf->provider_name is set) */ |
| 225 | return conf->provider; |
| 226 | } |
| 227 | |
| 228 | DAV_DECLARE(const dav_hooks_locks *) dav_get_lock_hooks(request_rec *r) |
| 229 | { |
no test coverage detected