MCPcopy Create free account
hub / github.com/apache/httpd / ap_cfg_getline

Function ap_cfg_getline

server/util.c:1198–1205  ·  view source on GitHub ↗

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 */

Source from the content-addressed store, hash-verified

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 */
1198AP_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
1207AP_DECLARE(apr_status_t) ap_varbuf_cfg_getline(struct ap_varbuf *vb,
1208 ap_configfile_t *cfp,

Callers 8

mime_post_configFunction · 0.85
check_passwordFunction · 0.85
get_realm_hashFunction · 0.85
authnz_ldap_post_configFunction · 0.85
get_lines_till_end_tokenFunction · 0.85
imap_handler_internalFunction · 0.85
proxylist_readFunction · 0.85

Calls 2

ap_cfg_getline_coreFunction · 0.85
cfg_trim_lineFunction · 0.85

Tested by

no test coverage detected