Read one line from open ap_configfile_t, strip LF, increase line number */ If custom handler does not define a getstr() function, read char by char */
| 1196 | /* Read one line from open ap_configfile_t, strip LF, increase line number */ |
| 1197 | /* If custom handler does not define a getstr() function, read char by char */ |
| 1198 | AP_DECLARE(apr_status_t) ap_cfg_getline(char *buf, apr_size_t bufsize, |
| 1199 | ap_configfile_t *cfp) |
| 1200 | { |
| 1201 | apr_status_t rc = ap_cfg_getline_core(buf, bufsize, 0, cfp); |
| 1202 | if (rc == APR_SUCCESS) |
| 1203 | cfg_trim_line(buf); |
| 1204 | return rc; |
| 1205 | } |
| 1206 | |
| 1207 | AP_DECLARE(apr_status_t) ap_varbuf_cfg_getline(struct ap_varbuf *vb, |
| 1208 | ap_configfile_t *cfp, |
no test coverage detected