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

Function ap_scan_script_header_err_strs_ex

server/util_script.c:890–910  ·  view source on GitHub ↗

ap_scan_script_header_err_strs() accepts additional const char* args... * each is treated as one or more header lines, and the first non-header * character is returned to **arg, **data. (The first optional arg is * counted as 0.) */

Source from the content-addressed store, hash-verified

888 * counted as 0.)
889 */
890AP_DECLARE_NONSTD(int) ap_scan_script_header_err_strs_ex(request_rec *r,
891 char *buffer,
892 int module_index,
893 const char **termch,
894 int *termarg, ...)
895{
896 struct vastrs strs;
897 int res;
898
899 va_start(strs.args, termarg);
900 strs.arg = 0;
901 strs.curpos = va_arg(strs.args, char*);
902 res = ap_scan_script_header_err_core_ex(r, buffer, getsfunc_STRING,
903 (void *) &strs, module_index);
904 if (termch)
905 *termch = strs.curpos;
906 if (termarg)
907 *termarg = strs.arg;
908 va_end(strs.args);
909 return res;
910}
911
912AP_DECLARE_NONSTD(int) ap_scan_script_header_err_strs(request_rec *r,
913 char *buffer,

Callers 1

send_response_headerFunction · 0.85

Calls 1

Tested by

no test coverage detected