| 389 | } |
| 390 | |
| 391 | apr_status_t md_util_is_file(const char *path, apr_pool_t *pool) |
| 392 | { |
| 393 | apr_finfo_t info; |
| 394 | apr_status_t rv = apr_stat(&info, path, APR_FINFO_TYPE, pool); |
| 395 | if (rv == APR_SUCCESS) { |
| 396 | rv = (info.filetype == APR_REG)? APR_SUCCESS : APR_EINVAL; |
| 397 | } |
| 398 | return rv; |
| 399 | } |
| 400 | |
| 401 | apr_status_t md_util_is_unix_socket(const char *path, apr_pool_t *pool) |
| 402 | { |
no outgoing calls
no test coverage detected