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

Function md_acme_get_json

modules/md/md_acme.c:513–525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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)
515{
516 apr_status_t rv;
517 json_ctx ctx;
518
519 ctx.pool = p;
520 ctx.json = NULL;
521
522 rv = md_acme_GET(acme, url, NULL, on_got_json, NULL, NULL, get_as_post, &ctx);
523 *pjson = (APR_SUCCESS == rv)? ctx.json : NULL;
524 return rv;
525}
526
527/**************************************************************************************************/
528/* Generic ACME operations */

Callers 2

md_acme_authz_updateFunction · 0.85
acme_get_ariFunction · 0.85

Calls 1

md_acme_GETFunction · 0.85

Tested by

no test coverage detected