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

Function md_json_get_time

modules/md/md_json.c:444–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442/* time */
443
444apr_time_t md_json_get_time(const md_json_t *json, ...)
445{
446 json_t *j;
447 va_list ap;
448
449 va_start(ap, json);
450 j = jselect(json, ap);
451 va_end(ap);
452
453 if (!j || !json_is_string(j)) return 0;
454 return apr_date_parse_rfc(json_string_value(j));
455}
456
457apr_status_t md_json_set_time(apr_time_t value, md_json_t *json, ...)
458{

Callers 4

si_val_statusFunction · 0.85
print_job_summaryFunction · 0.85
si_val_activityFunction · 0.85
si_val_ocsp_activityFunction · 0.85

Calls 1

jselectFunction · 0.85

Tested by

no test coverage detected