| 499 | } json_ctx; |
| 500 | |
| 501 | static 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 | |
| 513 | apr_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) |
nothing calls this directly
no test coverage detected