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

Function md_json_getn

modules/md/md_json.c:356–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354/* numbers */
355
356double md_json_getn(const md_json_t *json, ...)
357{
358 json_t *j;
359 va_list ap;
360
361 va_start(ap, json);
362 j = jselect(json, ap);
363 va_end(ap);
364 return (j && json_is_number(j))? json_number_value(j) : 0.0;
365}
366
367apr_status_t md_json_setn(double value, md_json_t *json, ...)
368{

Callers 1

read_store_fileFunction · 0.85

Calls 1

jselectFunction · 0.85

Tested by

no test coverage detected