return configuration-parsed arguments from line as an array. the line is expected not to contain any '\n'? */
| 89 | the line is expected not to contain any '\n'? |
| 90 | */ |
| 91 | static apr_array_header_t *get_arguments(apr_pool_t * pool, const char *line) |
| 92 | { |
| 93 | apr_array_header_t *args = apr_array_make(pool, 1, sizeof(char *)); |
| 94 | |
| 95 | trim(line); |
| 96 | while (*line) { |
| 97 | char *arg = ap_getword_conf(pool, &line); |
| 98 | char **new = apr_array_push(args); |
| 99 | *new = arg; |
| 100 | trim(line); |
| 101 | } |
| 102 | |
| 103 | return args; |
| 104 | } |
| 105 | |
| 106 | /* |
| 107 | warn if anything non blank appears, but ignore comments... |
no test coverage detected