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

Function md_json_getcj

modules/md/md_json.c:508–525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506}
507
508const md_json_t *md_json_getcj(const md_json_t *json, ...)
509{
510 json_t *j;
511 va_list ap;
512
513 va_start(ap, json);
514 j = jselect(json, ap);
515 va_end(ap);
516
517 if (j) {
518 if (j == json->j) {
519 return json;
520 }
521 json_incref(j);
522 return json_create(json->p, j);
523 }
524 return NULL;
525}
526
527apr_status_t md_json_setj(const md_json_t *value, md_json_t *json, ...)
528{

Callers 1

md_job_from_jsonFunction · 0.85

Calls 2

jselectFunction · 0.85
json_createFunction · 0.85

Tested by

no test coverage detected