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

Function read_param

modules/http2/h2_push.c:239–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239static int read_param(link_ctx *ctx)
240{
241 if (skip_ws(ctx) && read_chr(ctx, ';')) {
242 const char *name, *value = "";
243 if (read_pname(ctx, &name)) {
244 read_pvalue(ctx, &value); /* value is optional */
245 apr_table_setn(ctx->params, name, value);
246 return 1;
247 }
248 }
249 return 0;
250}
251
252static int read_sep(link_ctx *ctx)
253{

Callers 1

inspect_linkFunction · 0.85

Calls 4

read_pnameFunction · 0.85
read_pvalueFunction · 0.85
skip_wsFunction · 0.70
read_chrFunction · 0.70

Tested by

no test coverage detected