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

Function on_got_json

modules/md/md_acme.c:501–511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

499} json_ctx;
500
501static apr_status_t on_got_json(md_acme_t *acme, apr_pool_t *p, const apr_table_t *headers,
502 md_json_t *jbody, void *baton)
503{
504 json_ctx *ctx = baton;
505
506 (void)acme;
507 (void)p;
508 (void)headers;
509 ctx->json = md_json_clone(ctx->pool, jbody);
510 return APR_SUCCESS;
511}
512
513apr_status_t md_acme_get_json(struct md_json_t **pjson, md_acme_t *acme,
514 const char *url, int get_as_post, apr_pool_t *p)

Callers

nothing calls this directly

Calls 1

md_json_cloneFunction · 0.85

Tested by

no test coverage detected