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

Function read_link

modules/http2/h2_push.c:200–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198
199
200static int read_link(link_ctx *ctx)
201{
202 if (skip_ws(ctx) && read_chr(ctx, '<')) {
203 size_t end;
204 if (find_chr(ctx, '>', &end)) {
205 ctx->link = mk_str(ctx, end);
206 ctx->i = end + 1;
207 return 1;
208 }
209 }
210 return 0;
211}
212
213static int read_pname(link_ctx *ctx, const char **pname)
214{

Callers 1

inspect_linkFunction · 0.70

Calls 4

mk_strFunction · 0.85
skip_wsFunction · 0.70
read_chrFunction · 0.70
find_chrFunction · 0.70

Tested by

no test coverage detected